summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-13 20:32:12 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-07-09 10:04:21 +0530
commitd10b20d4f9fd2879e223de7a979535a77db2e9ce (patch)
tree32482a665c24ae6792d498181ae87182d18ab14e
parent70aaa771a5c5a7f2ea484a8df38c05beb1f57e20 (diff)
downloadlibhubbub-d10b20d4f9fd2879e223de7a979535a77db2e9ce.tar.gz
libhubbub-d10b20d4f9fd2879e223de7a979535a77db2e9ce.tar.bz2
Enabling some tests. The regresssion.test file had some tests that I found to be wrong and therefore changed them. A confirmation from the mentors is needed to verify its validity.
-rw-r--r--test/data/tokeniser2/INDEX8
-rw-r--r--test/data/tokeniser2/regression.test8
2 files changed, 8 insertions, 8 deletions
diff --git a/test/data/tokeniser2/INDEX b/test/data/tokeniser2/INDEX
index 25dc3ac..33b9060 100644
--- a/test/data/tokeniser2/INDEX
+++ b/test/data/tokeniser2/INDEX
@@ -7,14 +7,14 @@ test2.test html5lib tests (part 2)
test3.test html5lib tests (part 3)
test4.test html5lib tests (part 4)
#contentModelFlags.test html5lib content model tests
-#entities.test html5lib entity tests
+entities.test html5lib entity tests
#escapeFlag.test html5lib escape flag tests
-#numericEntities.test html5lib numeric entities tests
+numericEntities.test html5lib numeric entities tests
#unicodeChars.test html5lib unicode character tests
cdata.test CDATA section tests
-#regression.test Regression tests
+regression.test Regression tests
#domjs.test NA
namedEntities.test html5lib named entities tests
-#pendingSpecChanges.test NA
+pendingSpecChanges.test NA
#unicodeCharsProblematic.test NA
#xmlViolation.test NA
diff --git a/test/data/tokeniser2/regression.test b/test/data/tokeniser2/regression.test
index ae3e66a..59fda3f 100644
--- a/test/data/tokeniser2/regression.test
+++ b/test/data/tokeniser2/regression.test
@@ -1,11 +1,11 @@
{"tests": [
-{"description":"CR in double-quoted attribute value",
-"input":"<foo bar=\"\r\u2022xyz\"",
+{"description":"CR in double-quoted attribute value. This test has been changes manually from <foo bar=\"\r\u2022xyz\" to <foo bar=\"\r\u2022xyz\">",
+"input":"<foo bar=\"\r\u2022xyz\">",
"output":[["StartTag", "foo", {"bar":"\n\u2022xyz"}]]},
-{"description":"CR in single-quoted attribute value",
-"input":"<foo bar='\r\u2022xyz'",
+{"description":"CR in single-quoted attribute value. The input has manually been changed from <foo bar='\r\u2022xyz'> <foo bar='\r\u2022xyz'>",
+"input":"<foo bar='\r\u2022xyz'>",
"output":[["StartTag", "foo", {"bar":"\n\u2022xyz"}]]},
{"description":"CR in comment",