test_object: Fix a duplicate conditional check in test_iterators
This commit is contained in:
parent
58c188e1d5
commit
c242b46016
@ -292,7 +292,7 @@ static void test_iterators()
|
||||
foo = json_string("foo");
|
||||
bar = json_string("bar");
|
||||
baz = json_string("baz");
|
||||
if(!object || !foo || !bar || !bar)
|
||||
if(!object || !foo || !bar || !baz)
|
||||
fail("unable to create values");
|
||||
|
||||
if(json_object_iter_next(object, NULL))
|
||||
|
Loading…
Reference in New Issue
Block a user