From c7aca56fa2e1b68e6f47e0f5951b5852701640ef Mon Sep 17 00:00:00 2001 From: inikulin Date: Thu, 18 May 2017 12:10:37 +0300 Subject: [PATCH] Rename malformed-comment error --- tokenizer/test1.test | 12 ++--- tokenizer/test3.test | 66 ++++++++++++------------ tokenizer/test4.test | 10 ++-- tree-construction/plain-text-unsafe.dat | Bin 9273 -> 9299 bytes tree-construction/tests1.dat | 8 +-- tree-construction/tests26.dat | 2 +- 6 files changed, 49 insertions(+), 49 deletions(-) diff --git a/tokenizer/test1.test b/tokenizer/test1.test index b95038ba..8565517b 100644 --- a/tokenizer/test1.test +++ b/tokenizer/test1.test @@ -10,25 +10,25 @@ "output":[["DOCTYPE", "html", null, null, true]]}, {"description":"Correct Doctype mixed case", -"input":"", +"input":"", "output":[["DOCTYPE", "html", null, null, true]]}, {"description":"Correct Doctype case with EOF", -"input":"", +"input":"", "output":[["Comment", "DOC"]], "errors":[ - { "code": "malformed-comment", "line": 1, "col": 3 } + { "code": "unsupported-markup-declaration", "line": 1, "col": 3 } ]}, {"description":"Doctype in error", -"input":"", +"input":"", "output":[["DOCTYPE", "foo", null, null, true]]}, {"description":"Single Start Tag", @@ -110,7 +110,7 @@ "input":"", "input":"", "output":[["Comment", ""]], "errors":[ - { "code": "malformed-comment", "line": 1, "col": 3 } + { "code": "unsupported-markup-declaration", "line": 1, "col": 3 } ]}, {"description":"", @@ -8090,63 +8090,63 @@ "input":"wi+ GF9rZ(^dPPP delta 64 xcmccYvD0IN1CL;CVoq9qQEqCAZgPHZZfai1WJh+x$^AV2IAz#3m+;;f0{|p(7#siq diff --git a/tree-construction/tests1.dat b/tree-construction/tests1.dat index 09cc9bda..a7a4ca4d 100644 --- a/tree-construction/tests1.dat +++ b/tree-construction/tests1.dat @@ -580,7 +580,7 @@ Line1
Line2
Line3
Line4 (1,2): expected-dashes-or-doctype (1,2): expected-doctype-but-got-eof #new-errors -(1:3) malformed-comment +(1:3) unsupported-markup-declaration #document | | @@ -593,7 +593,7 @@ Line1
Line2
Line3
Line4 (1,2): expected-dashes-or-doctype (1,3): expected-doctype-but-got-eof #new-errors -(1:3) malformed-comment +(1:3) unsupported-markup-declaration #document | | @@ -619,7 +619,7 @@ Line1
Line2
Line3
Line4 (1,2): expected-dashes-or-doctype (1,10): expected-doctype-but-got-eof #new-errors -(1:3) malformed-comment +(1:3) unsupported-markup-declaration #document | | @@ -658,7 +658,7 @@ Line1
Line2
Line3
Line4 (1,2): expected-dashes-or-doctype (1,12): expected-doctype-but-got-eof #new-errors -(1:3) malformed-comment +(1:3) unsupported-markup-declaration #document | | diff --git a/tree-construction/tests26.dat b/tree-construction/tests26.dat index eb9a5bc3..882b91ca 100644 --- a/tree-construction/tests26.dat +++ b/tree-construction/tests26.dat @@ -368,7 +368,7 @@ (1,28): expected-dashes-or-doctype (1,34): expected-closing-tag-but-got-eof #new-errors -(1:29) malformed-comment +(1:29) unsupported-markup-declaration #document | |