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.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/data/tokeniser2/test2.test b/test/data/tokeniser2/test2.test
index 209ce2b..c1f1f65 100644
--- a/test/data/tokeniser2/test2.test
+++ b/test/data/tokeniser2/test2.test
@@ -144,6 +144,10 @@
"input":"\nx\n>\n",
"output":[["Character","\nx\n>\n"]]},
+{"description":"Start tag with no attributes but space before the greater-than sign",
+"input":"<h >",
+"output":[["StartTag", "h", {}]]},
+
{"description":"Empty attribute followed by uppercase attribute",
"input":"<h a B=''>",
"output":[["StartTag", "h", {"a":"", "b":""}]]},