diff options
author | John E <johne53@tiscali.co.uk> | 2013-03-27 15:46:15 +0100 |
---|---|---|
committer | Alejandro PiƱeiro <apinheiro@igalia.com> | 2013-03-27 15:46:15 +0100 |
commit | 9af9e6edda08d38f0e39daab470c8e1b3ec0f84c (patch) | |
tree | 0e4cfbd6bf8d18cc19fe3ff971aafcf819888937 | |
parent | 8554330034b10e153a5aa4aa1ebed9398549e617 (diff) | |
download | atk-9af9e6edda08d38f0e39daab470c8e1b3ec0f84c.tar.gz |
tests: Fix logic when testing for empty state set
https://bugzilla.gnome.org/show_bug.cgi?id=696466
-rw-r--r-- | tests/teststateset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/teststateset.c b/tests/teststateset.c index 27c15a9..f2cb1d4 100644 --- a/tests/teststateset.c +++ b/tests/teststateset.c @@ -34,7 +34,7 @@ test_state_set (void) state_set1 = atk_state_set_new (); b_val = atk_state_set_is_empty (state_set1); - if (b_val) + if (!b_val) { g_print ("New state set is not empty\n"); return FALSE; @@ -48,7 +48,7 @@ test_state_set (void) } b_val = atk_state_set_is_empty (state_set1); - if (!b_val) + if (b_val) { g_print ("New state set is empty when it should not be\n"); return FALSE; |