Skip to content

Commit 3438ae3

Browse files
stevecheckowayjgraham
authored andcommitted
Fix EOF error line/columns, add to #errors
Fix the line and column numbers. Currently, the number of errors in the `#errors` section of the test is the correct number of errors. Counting the ones in `#new-errors` breaks hundreds of tests because they contain an equivalent error in `#errors`. So this adds the eof in comment error to `#errors` as well.
1 parent 8865518 commit 3438ae3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tree-construction/comments01.dat

+4-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ FOO<!-- BAR --!>BAZ
2929
FOO<!-- BAR --! >BAZ
3030
#errors
3131
(1,3): expected-doctype-but-got-chars
32+
(1:21) eof-in-comment
3233
#new-errors
33-
(1:20) eof-in-comment
34+
(1:21) eof-in-comment
3435
#document
3536
| <html>
3637
| <head>
@@ -43,8 +44,9 @@ FOO<!-- BAR --!
4344
>BAZ
4445
#errors
4546
(1,3): expected-doctype-but-got-chars
47+
(2:5) eof-in-comment
4648
#new-errors
47-
(1:20) eof-in-comment
49+
(2:5) eof-in-comment
4850
#document
4951
| <html>
5052
| <head>

0 commit comments

Comments
 (0)