diff --git a/test/suites/api/test_object.c b/test/suites/api/test_object.c index aff83f9..c7acb40 100644 --- a/test/suites/api/test_object.c +++ b/test/suites/api/test_object.c @@ -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))