Skip to content

Commit 11dbb0d

Browse files
sideshowbarkerhsivonen
authored andcommitted
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 c135d2e commit 11dbb0d

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
@@ -57,7 +57,7 @@ public class TokenizerTester {
5757

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

60-
private static JSONString PCDATA = new JSONString("DATA state");
60+
private static JSONString PCDATA = new JSONString("Data state");
6161

6262
private static JSONString RCDATA = new JSONString("RCDATA state");
6363

0 commit comments

Comments
 (0)