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:
Andrei Epure 2013-04-26 21:33:47 +03:00 committed by Petri Lehtinen
parent b227f96c45
commit 5793142861

View File

@ -94,7 +94,7 @@ static void test_update()
/* perform the same update again */
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)
fail("invalid size after update");