test:suites:api: modified error message
In the "/* perform the same update again */" area the error message should be "unable to update an non-empty object" instead of "unable to update an empty object". Signed-off-by: Andrei Epure <epure.andrei@gmail.com>
This commit is contained in:
parent
b227f96c45
commit
5793142861
@ -94,7 +94,7 @@ static void test_update()
|
|||||||
/* perform the same update again */
|
/* perform the same update again */
|
||||||
|
|
||||||
if(json_object_update(object, other))
|
if(json_object_update(object, other))
|
||||||
fail("unable to update an empty object");
|
fail("unable to update a non-empty object");
|
||||||
|
|
||||||
if(json_object_size(object) != 5)
|
if(json_object_size(object) != 5)
|
||||||
fail("invalid size after update");
|
fail("invalid size after update");
|
||||||
|
Loading…
Reference in New Issue
Block a user