Merge pull request #76 from simonsj/master

tests: fix test_object JSMN_PRIMITIVE bug
master
Serge Zaitsev 9 years ago
commit bbc6755fce

@ -44,7 +44,7 @@ int test_object(void) {
check(parse("{\"a\": 0, \"b\": \"c\"}", 5, 5, check(parse("{\"a\": 0, \"b\": \"c\"}", 5, 5,
JSMN_OBJECT, -1, -1, 2, JSMN_OBJECT, -1, -1, 2,
JSMN_STRING, "a", 1, JSMN_STRING, "a", 1,
JSMN_PRIMITIVE, 0, JSMN_PRIMITIVE, "0",
JSMN_STRING, "b", 1, JSMN_STRING, "b", 1,
JSMN_STRING, "c", 0)); JSMN_STRING, "c", 0));

Loading…
Cancel
Save