Skip to content

Commit 623cea1

Browse files
Fix TokenizerTester casing of PCDATA state name
This change updates the TokenizerTester code to expect its input test data to have the string "Data state" to identify PCDATA tests — rather than the string "DATA state". The test data in the html5lib-tests suite uses "Data state", so without this change, running TokenizerTester against html5lib-tests causes TokenizerTester to fail with a “Broken test data” harness failure.
1 parent a27c7b6 commit 623cea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-src/nu/validator/htmlparser/test/TokenizerTester.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class TokenizerTester {
5353

5454
private static JSONString PLAINTEXT = new JSONString("PLAINTEXT state");
5555

56-
private static JSONString PCDATA = new JSONString("DATA state");
56+
private static JSONString PCDATA = new JSONString("Data state");
5757

5858
private static JSONString RCDATA = new JSONString("RCDATA state");
5959

0 commit comments

Comments
 (0)