From e7691bd3dfb8a5ae1c33310f29c97e52304bdbc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 16 Jan 2025 15:23:40 +0100 Subject: [PATCH] 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: --- src/run-js-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/run-js-test.c b/src/run-js-test.c index 20b3c3aba..c1c933fc0 100644 --- a/src/run-js-test.c +++ b/src/run-js-test.c @@ -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); }