From 733c7bd9c5b62b7e6ae2717661ae286fb4978a83 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 3 Oct 2017 15:15:28 +0100 Subject: [PATCH] g_test_log: Consistently use GLib whitespace style Bug: https://bugzilla.gnome.org/show_bug.cgi?id=788467 Signed-off-by: Simon McVittie Reviewed-by: Philip Withnall --- glib/gtestutils.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/glib/gtestutils.c b/glib/gtestutils.c index a1109b553..4839799a1 100644 --- a/glib/gtestutils.c +++ b/glib/gtestutils.c @@ -808,7 +808,7 @@ g_test_log (GTestLogType lbit, case G_TEST_LOG_START_BINARY: if (test_tap_log) g_print ("# random seed: %s\n", string2); - else if (g_test_verbose()) + else if (g_test_verbose ()) g_print ("GTest: random seed: %s\n", string2); break; case G_TEST_LOG_START_SUITE: @@ -840,15 +840,15 @@ g_test_log (GTestLogType lbit, else g_print ("\n"); } - else if (g_test_verbose()) + else if (g_test_verbose ()) g_print ("GTest: result: %s\n", g_test_result_names[result]); - else if (!g_test_quiet()) + else if (!g_test_quiet ()) g_print ("%s\n", g_test_result_names[result]); if (fail && test_mode_fatal) { if (test_tap_log) g_print ("Bail out!\n"); - g_abort(); + g_abort (); } if (result == G_TEST_RUN_SKIPPED) test_skipped_count++; @@ -856,25 +856,25 @@ g_test_log (GTestLogType lbit, case G_TEST_LOG_MIN_RESULT: if (test_tap_log) g_print ("# min perf: %s\n", string1); - else if (g_test_verbose()) + else if (g_test_verbose ()) g_print ("(MINPERF:%s)\n", string1); break; case G_TEST_LOG_MAX_RESULT: if (test_tap_log) g_print ("# max perf: %s\n", string1); - else if (g_test_verbose()) + else if (g_test_verbose ()) g_print ("(MAXPERF:%s)\n", string1); break; case G_TEST_LOG_MESSAGE: if (test_tap_log) g_print ("# %s\n", string1); - else if (g_test_verbose()) + else if (g_test_verbose ()) g_print ("(MSG: %s)\n", string1); break; case G_TEST_LOG_ERROR: if (test_tap_log) g_print ("Bail out! %s\n", string1); - else if (g_test_verbose()) + else if (g_test_verbose ()) g_print ("(ERROR: %s)\n", string1); break; default: ; @@ -896,9 +896,9 @@ g_test_log (GTestLogType lbit, case G_TEST_LOG_START_CASE: if (test_tap_log) ; - else if (g_test_verbose()) + else if (g_test_verbose ()) g_print ("GTest: run: %s\n", string1); - else if (!g_test_quiet()) + else if (!g_test_quiet ()) g_print ("%s: ", string1); break; default: ;