Merge pull request #221 from lioncash/test

test_object: Fix a duplicate conditional check in test_iterators
This commit is contained in:
Petri Lehtinen 2015-02-05 09:28:43 +02:00
commit 8b1bdcacb7
1 changed files with 1 additions and 1 deletions

View File

@ -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))