summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSerge Zaitsev <zaitsev.serge@gmail.com>2016-04-02 03:10:43 -0500
committerSerge Zaitsev <zaitsev.serge@gmail.com>2016-04-02 03:10:43 -0500
commitbbc6755fce14c713f9bb4ba47c688d15efc1394b (patch)
tree351aa8b9fae9447d3417cee7c805765bb626a412 /test
parentb77d84ba48e057aa464b6c6b6f6209e632918cb3 (diff)
parente3f2629a562c260fc3fe3d69576cd7b06f3a3760 (diff)
Merge pull request #76 from simonsj/master
tests: fix test_object JSMN_PRIMITIVE bug
Diffstat (limited to 'test')
-rw-r--r--test/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tests.c b/test/tests.c
index 442074615..a72689ec0 100644
--- a/test/tests.c
+++ b/test/tests.c
@@ -44,7 +44,7 @@ int test_object(void) {
check(parse("{\"a\": 0, \"b\": \"c\"}", 5, 5,
JSMN_OBJECT, -1, -1, 2,
JSMN_STRING, "a", 1,
- JSMN_PRIMITIVE, 0,
+ JSMN_PRIMITIVE, "0",
JSMN_STRING, "b", 1,
JSMN_STRING, "c", 0));