diff options
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/tokeniser2/test2.test | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/data/tokeniser2/test2.test b/test/data/tokeniser2/test2.test index 8b4f516..1a15fde 100644 --- a/test/data/tokeniser2/test2.test +++ b/test/data/tokeniser2/test2.test @@ -132,12 +132,9 @@ "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", @@ -147,6 +144,10 @@ "input":"\nx\n>\n", "output":[["Character","\nx\n>\n"]]} +{"description":"Empty attribute followed by uppercase attribute", +"input":"<h a B=''>", +"output":[["StartTag", "h", {"a":"", "b":""}]]}, + ]} |