From abdc258b5751cf9b669bffb629d025b614f2177d Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 9 May 2023 11:23:22 -0600 Subject: Assert that an interface object is not null --- tests/at-spi2-atk/atk_test_table.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/at-spi2-atk/atk_test_table.c b/tests/at-spi2-atk/atk_test_table.c index 17a9ec8c..0e4643e0 100644 --- a/tests/at-spi2-atk/atk_test_table.c +++ b/tests/at-spi2-atk/atk_test_table.c @@ -311,6 +311,7 @@ atk_test_table_is_row_selected (TestAppFixture *fixture, gconstpointer user_data AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL); g_assert (child); AtspiTable *obj = atspi_accessible_get_table_iface (child); + g_assert (obj); g_assert_true (atspi_table_is_row_selected (obj, 0, NULL)); g_assert_false (atspi_table_is_row_selected (obj, 1, NULL)); } -- cgit v1.2.1