summaryrefslogtreecommitdiff
path: root/test/data/tokeniser2/test2.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/tokeniser2/test2.test')
-rw-r--r--test/data/tokeniser2/test2.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/data/tokeniser2/test2.test b/test/data/tokeniser2/test2.test
index 50c3531..8b4f516 100644
--- a/test/data/tokeniser2/test2.test
+++ b/test/data/tokeniser2/test2.test
@@ -132,9 +132,12 @@
"input":"foo < bar",
"output":[["Character", "foo "], "ParseError", ["Character", "< bar"]]},
+/* jmb -- libjson uses C strings internally, thus the input gets truncated before the
+ * data is fed to the input stream (and thus the tokeniser)
{"description":"Null Byte Replacement",
"input":"\u0000",
"output":["ParseError", ["Character", "\ufffd"]]},
+*/
{"description":"Comment with dash",
"input":"<!---x",