gtestutils: Do not allow newlines in Bail out! messages

It would break TAP parsing, so let's just print all inline
This commit is contained in:
Marco Trevisan (Treviño)
2023-01-16 21:36:15 +01:00
parent a3f26bd509
commit 9cfae23915
3 changed files with 15 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ test_fail (void)
static void
test_error (void)
{
g_error ("This should error out\nBecause it's just wrong!");
g_error ("This should error out\nBecause it's just\nwrong!");
}
static void