diff options
author | Thomas Huth <thuth@redhat.com> | 2019-03-01 16:10:18 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2019-03-07 22:16:22 +0100 |
commit | 13ee9e30c8855a8b8d62b05992cfc65fc57a8df5 (patch) | |
tree | d842d63dacca1c6c2d2d5b7f853610eb578bd4ce /tests/m48t59-test.c | |
parent | 142659b89cf45ab9117d4abe771fff67c74dfac5 (diff) |
tests: Do not use "\n" in g_test_message() strings
g_test_message() takes care of the newline on its own, so we
should not use \n in the strings here.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/m48t59-test.c')
-rw-r--r-- | tests/m48t59-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/m48t59-test.c b/tests/m48t59-test.c index 4abf9c605c..b94a1230f7 100644 --- a/tests/m48t59-test.c +++ b/tests/m48t59-test.c @@ -199,9 +199,9 @@ static void bcd_check_time(void) t = (long)mktime(datep); s = (long)mktime(&start); if (t < s) { - g_test_message("RTC is %ld second(s) behind wall-clock\n", (s - t)); + g_test_message("RTC is %ld second(s) behind wall-clock", (s - t)); } else { - g_test_message("RTC is %ld second(s) ahead of wall-clock\n", (t - s)); + g_test_message("RTC is %ld second(s) ahead of wall-clock", (t - s)); } g_assert_cmpint(ABS(t - s), <=, wiggle); |