summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge A. Zaitsev <devnull@localhost>2010-11-24 11:15:21 +0200
committerSerge A. Zaitsev <devnull@localhost>2010-11-24 11:15:21 +0200
commit978ea959f41bf9653689fc3566e68bc4fc59785d (patch)
treecb4be98346248f28d963f5e31be8551a38929b65
parent508bf43fa001486025b5be6fbdc3d943e3d56ac4 (diff)
Added test for a large number of tokens
-rw-r--r--test.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/test.sh b/test.sh
index 874904744..7350222af 100644
--- a/test.sh
+++ b/test.sh
@@ -110,6 +110,22 @@ expect 'objField' 'value' << JSON_END
}
JSON_END
+expect 'foo' 'bar' << JSON_END
+{
+ "foo" : "bar"
+ "a" : [
+ {
+ "x" : "y",
+ "z" : "zz"
+ },
+ 3,
+ false,
+ true,
+ "end"
+ ],
+}
+JSON_END
+
echo
echo "Passed: $PASSED"
echo "Failed: $FAILED"