summaryrefslogtreecommitdiff
path: root/test/data/tokeniser2/contentModelFlags.test
diff options
context:
space:
mode:
authorRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-07-16 10:17:20 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-08-01 21:44:33 +0530
commitbef193cb94318d6fe1f7f005f43d751d69224651 (patch)
tree2349184dd1374dc11c83fb7c5163570c5febb2e2 /test/data/tokeniser2/contentModelFlags.test
parenta0a0787a34e0ad510c58dccf17a67c951aac6c3a (diff)
downloadlibhubbub-bef193cb94318d6fe1f7f005f43d751d69224651.tar.gz
libhubbub-bef193cb94318d6fe1f7f005f43d751d69224651.tar.bz2
Merged the updates to tests made a few days ago
Diffstat (limited to 'test/data/tokeniser2/contentModelFlags.test')
-rw-r--r--test/data/tokeniser2/contentModelFlags.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/data/tokeniser2/contentModelFlags.test b/test/data/tokeniser2/contentModelFlags.test
index a8b1695..89b8170 100644
--- a/test/data/tokeniser2/contentModelFlags.test
+++ b/test/data/tokeniser2/contentModelFlags.test
@@ -48,6 +48,12 @@
"input":"</foo>bar</xmp>",
"output":[["Character", "</foo>bar"], ["EndTag", "xmp"]]},
+{"description":"Partial end tags leading straight into partial end tags",
+"initialStates":["RCDATA state", "RAWTEXT state"],
+"lastStartTag":"xmp",
+"input":"</xmp</xmp</xmp>",
+"output":[["Character", "</xmp</xmp"], ["EndTag", "xmp"]]},
+
{"description":"End tag with incorrect name in RCDATA or RAWTEXT (starting like correct name)",
"initialStates":["RCDATA state", "RAWTEXT state"],
"lastStartTag":"xmp",