tests: Use g_assert_nonnull in kms-cursor-force-disable test
Suggested by Carlos Garnacho. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4285>
This commit is contained in:
parent
576f802e26
commit
45f60a2cd4
@ -84,7 +84,7 @@ meta_test_cursor_force_disable (void)
|
|||||||
break;
|
break;
|
||||||
g_main_context_iteration (NULL, TRUE);
|
g_main_context_iteration (NULL, TRUE);
|
||||||
}
|
}
|
||||||
g_assert_true (cursor_sprite);
|
g_assert_nonnull (cursor_sprite);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user