mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
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:
parent
0a10851faa
commit
9279f3b0f9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user