tests: Fix some code formatting in closure-refcount

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2019-02-27 11:55:21 +00:00
parent 31664e62f9
commit d6e9111986

View File

@ -184,7 +184,7 @@ thread1_main (gpointer data)
if (i % 10000 == 0) if (i % 10000 == 0)
{ {
g_test_message ("Yielding from thread1"); g_test_message ("Yielding from thread1");
g_thread_yield(); /* force context switch */ g_thread_yield (); /* force context switch */
seen_thread1 = TRUE; seen_thread1 = TRUE;
} }
} }
@ -203,7 +203,7 @@ thread2_main (gpointer data)
if (i % 10000 == 0) if (i % 10000 == 0)
{ {
g_test_message ("Yielding from thread2"); g_test_message ("Yielding from thread2");
g_thread_yield(); /* force context switch */ g_thread_yield (); /* force context switch */
seen_thread2 = TRUE; seen_thread2 = TRUE;
} }
} }
@ -278,7 +278,7 @@ test_closure_refcount (void)
if (i % 10000 == 0) if (i % 10000 == 0)
{ {
g_test_message ("Yielding from main thread"); g_test_message ("Yielding from main thread");
g_thread_yield(); /* force context switch */ g_thread_yield (); /* force context switch */
} }
} }