run-tests: Add missing newlines in error messages

Unlike the various g_message() macros, the g_print() functions do
not add an implicit newline at the end of the message.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3599>
This commit is contained in:
Florian Müllner 2025-01-16 15:23:40 +01:00 committed by Marge Bot
parent 68fe35d1a2
commit e7691bd3df

View File

@ -69,13 +69,13 @@ main (int argc, char **argv)
argc - 2, (const char**)argv + 2,
&error))
{
g_printerr ("Failed to defined ARGV: %s", error->message);
g_printerr ("Failed to defined ARGV: %s\n", error->message);
exit (1);
}
if (argc < 2)
{
g_printerr ("Missing filename");
g_printerr ("Missing filename\n");
exit (1);
}