[at-spi2-core: 3/10] test_relation(): Use a fetched value instead of computing it again
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core: 3/10] test_relation(): Use a fetched value instead of computing it again
- Date: Tue, 5 Jul 2022 00:28:52 +0000 (UTC)
commit 9e32fc508793b2e12bdee5d92e91289ce3ff0b8a
Author: Federico Mena Quintero <federico gnome org>
Date: Mon Jul 4 17:57:52 2022 -0500
test_relation(): Use a fetched value instead of computing it again
tests/atk/testrelation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/atk/testrelation.c b/tests/atk/testrelation.c
index 6fb4ae96..fc3d7cba 100644
--- a/tests/atk/testrelation.c
+++ b/tests/atk/testrelation.c
@@ -78,7 +78,7 @@ test_relation (void)
set = atk_object_ref_relation_set (obj);
g_assert_nonnull (set);
n_relations = atk_relation_set_get_n_relations (set);
- g_assert_cmpint (atk_relation_set_get_n_relations (set), ==, 0);
+ g_assert_cmpint (n_relations, ==, 0);
g_object_unref (set);
g_object_unref (obj);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]