diff options
author | Lioncash <mathew1800@gmail.com> | 2015-02-05 01:26:13 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-02-05 01:26:13 -0500 |
commit | c242b46016fb420ac78b1753976da5f54dfb0dd5 (patch) | |
tree | 7a21aa37605fa71602f9cb54df6e94e1df51e18f /test/suites/api | |
parent | 58c188e1d5967a1d905acce9beb450204d7da56b (diff) | |
download | jansson-c242b46016fb420ac78b1753976da5f54dfb0dd5.zip jansson-c242b46016fb420ac78b1753976da5f54dfb0dd5.tar.gz jansson-c242b46016fb420ac78b1753976da5f54dfb0dd5.tar.bz2 |
test_object: Fix a duplicate conditional check in test_iterators
Diffstat (limited to 'test/suites/api')
-rw-r--r-- | test/suites/api/test_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |