mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-14 19:55:12 +01:00
tests: Use g_assert_*() rather than g_assert() in spawn-multithreaded
It won’t get compiled out with `G_DISABLE_ASSERT`. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
8cff531520
commit
fd43391583
@ -350,8 +350,8 @@ test_spawn_async_multithreaded_instance (gpointer thread_data)
|
||||
|
||||
g_main_loop_run (loop);
|
||||
|
||||
g_assert (data.child_exited);
|
||||
g_assert (data.stdout_done);
|
||||
g_assert_true (data.child_exited);
|
||||
g_assert_true (data.stdout_done);
|
||||
g_assert_cmpstr (data.stdout_buf->str, ==, arg);
|
||||
g_string_free (data.stdout_buf, TRUE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user