aboutsummaryrefslogtreecommitdiff
path: root/test/suites/api
diff options
context:
space:
mode:
authorAndrei Epure <epure.andrei@gmail.com>2013-04-26 21:33:47 +0300
committerPetri Lehtinen <petri@digip.org>2013-04-29 15:32:52 +0300
commit5793142861b312bbe0694e00cf3404fc4fbe791a (patch)
treee91a25d35b59153bc33d0f2c10248a3b878bb959 /test/suites/api
parentb227f96c45ff9e3157059db120e2c243a87efcce (diff)
downloadjansson-5793142861b312bbe0694e00cf3404fc4fbe791a.zip
jansson-5793142861b312bbe0694e00cf3404fc4fbe791a.tar.gz
jansson-5793142861b312bbe0694e00cf3404fc4fbe791a.tar.bz2
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>
Diffstat (limited to 'test/suites/api')
-rw-r--r--test/suites/api/test_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/suites/api/test_object.c b/test/suites/api/test_object.c
index b317745..31cadc3 100644
--- a/test/suites/api/test_object.c
+++ b/test/suites/api/test_object.c
@@ -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");