Skip to content

Commit 2c8adae

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 d96878e commit 2c8adae

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
@@ -60,7 +60,7 @@ public class TokenizerTester {
6060

6161
private static JSONString PLAINTEXT = new JSONString("PLAINTEXT state");
6262

63-
private static JSONString PCDATA = new JSONString("DATA state");
63+
private static JSONString PCDATA = new JSONString("Data state");
6464

6565
private static JSONString RCDATA = new JSONString("RCDATA state");
6666

0 commit comments

Comments
 (0)