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:
Michel Dänzer 2025-02-18 11:53:26 +01:00 committed by Michel Dänzer
parent 576f802e26
commit 45f60a2cd4

View File

@ -84,7 +84,7 @@ meta_test_cursor_force_disable (void)
break;
g_main_context_iteration (NULL, TRUE);
}
g_assert_true (cursor_sprite);
g_assert_nonnull (cursor_sprite);
}
static void