Skip to content

Commit 40b6a7d

Browse files
committed
Fix errors expectations of numerical entities without semicolons
1 parent 15d20dd commit 40b6a7d

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

tree-construction/entities01.dat

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,8 @@ FOO&#111111111111
762762
FOO&#11111111111ZOO
763763
#errors
764764
(1,3): expected-doctype-but-got-chars
765-
(1,13): illegal-codepoint-for-numeric-entity
765+
(1,16): numeric-entity-without-semicolon
766+
(1,16): illegal-codepoint-for-numeric-entity
766767
#document
767768
| <html>
768769
| <head>
@@ -773,7 +774,8 @@ FOO&#11111111111ZOO
773774
FOO&#1111111111ZOO
774775
#errors
775776
(1,3): expected-doctype-but-got-chars
776-
(1,13): illegal-codepoint-for-numeric-entity
777+
(1,15): numeric-entity-without-semicolon
778+
(1,15): illegal-codepoint-for-numeric-entity
777779
#document
778780
| <html>
779781
| <head>
@@ -784,7 +786,8 @@ FOO&#1111111111ZOO
784786
FOO&#111111111111ZOO
785787
#errors
786788
(1,3): expected-doctype-but-got-chars
787-
(1,13): illegal-codepoint-for-numeric-entity
789+
(1,17): numeric-entity-without-semicolon
790+
(1,17): illegal-codepoint-for-numeric-entity
788791
#document
789792
| <html>
790793
| <head>

tree-construction/tests1.dat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,6 @@ Line1<br>Line2<br>Line3<br>Line4
15391539
(1,27): unexpected-select-in-select
15401540
(1,39): unexpected-end-tag
15411541
(1,48): unexpected-end-tag
1542-
(1,48): expected-closing-tag-but-got-eof
15431542
#document
15441543
| <html>
15451544
| <head>

tree-construction/tests16.dat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@
216216
#data
217217
<!doctype html><script><!
218218
#errors
219+
(1,25): expected-script-data-but-got-eof
219220
(1,25): expected-named-closing-tag-but-got-eof
220221
#document
221222
| <!DOCTYPE html>
@@ -1445,6 +1446,7 @@
14451446
<script><!
14461447
#errors
14471448
(1,8): expected-doctype-but-got-start-tag
1449+
(1,10): expected-script-data-but-got-eof
14481450
(1,10): expected-named-closing-tag-but-got-eof
14491451
#document
14501452
| <html>

0 commit comments

Comments
 (0)