projects
/
platform
/
upstream
/
atk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8554330
)
tests: Fix logic when testing for empty state set
author
John E
<johne53@tiscali.co.uk>
Wed, 27 Mar 2013 14:46:15 +0000
(15:46 +0100)
committer
Alejandro Piñeiro
<apinheiro@igalia.com>
Wed, 27 Mar 2013 14:46:15 +0000
(15:46 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=696466
tests/teststateset.c
patch
|
blob
|
history
diff --git
a/tests/teststateset.c
b/tests/teststateset.c
index
27c15a9
..
f2cb1d4
100644
(file)
--- 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;