diff options
Diffstat (limited to 'test/data/tokeniser2/test2.test')
-rw-r--r-- | test/data/tokeniser2/test2.test | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/data/tokeniser2/test2.test b/test/data/tokeniser2/test2.test index 8c7d00f..6d6f6ff 100644 --- a/test/data/tokeniser2/test2.test +++ b/test/data/tokeniser2/test2.test @@ -150,8 +150,14 @@ {"description":"Empty attribute followed by uppercase attribute", "input":"<h a B=''>", -"output":[["StartTag", "h", {"a":"", "b":""}]]} +"output":[["StartTag", "h", {"a":"", "b":""}]]}, -]} +{"description":"Double-quote after attribute name", +"input":"<h a \">", +"output":["ParseError", ["StartTag", "h", {"a":"", "\"":""}]]}, +{"description":"Single-quote after attribute name", +"input":"<h a '>", +"output":["ParseError", ["StartTag", "h", {"a":"", "'":""}]]} +]} |