mirror of https://github.com/akheron/jansson
Merge pull request #221 from lioncash/test
test_object: Fix a duplicate conditional check in test_iterators
This commit is contained in:
commit
8b1bdcacb7
|
@ -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