tests: Use g_assert_*() rather than g_assert() in appmonitor tests

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 2023-03-22 14:38:04 +00:00
parent 0a10851faa
commit 9279f3b0f9

View File

@ -118,7 +118,7 @@ test_app_monitor (Fixture *fixture,
g_timeout_add_seconds (3, quit_loop, loop);
g_main_loop_run (loop);
g_assert (changed_fired);
g_assert_true (changed_fired);
changed_fired = FALSE;
/* FIXME: this shouldn't be required */
@ -130,7 +130,7 @@ test_app_monitor (Fixture *fixture,
g_main_loop_run (loop);
g_assert (changed_fired);
g_assert_true (changed_fired);
g_main_loop_unref (loop);
g_remove (app_path);