From c242b46016fb420ac78b1753976da5f54dfb0dd5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 5 Feb 2015 01:26:13 -0500 Subject: [PATCH] test_object: Fix a duplicate conditional check in test_iterators --- test/suites/api/test_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))