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:
Philip Withnall 2022-03-12 01:12:19 +00:00
parent 8cff531520
commit fd43391583

View File

@ -350,8 +350,8 @@ test_spawn_async_multithreaded_instance (gpointer thread_data)
g_main_loop_run (loop); g_main_loop_run (loop);
g_assert (data.child_exited); g_assert_true (data.child_exited);
g_assert (data.stdout_done); g_assert_true (data.stdout_done);
g_assert_cmpstr (data.stdout_buf->str, ==, arg); g_assert_cmpstr (data.stdout_buf->str, ==, arg);
g_string_free (data.stdout_buf, TRUE); g_string_free (data.stdout_buf, TRUE);