File tree Expand file tree Collapse file tree
test/java/org/htmlunit/cssparser/parser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ options {
2222// DEBUG_TOKEN_MANAGER = true;
2323// DEBUG_PARSER = true;
2424
25- JDK_VERSION = "17 ";
25+ JDK_VERSION = "11 ";
2626// JAVA_TEMPLATE_TYPE = "modern"
2727}
2828
@@ -1037,7 +1037,7 @@ void styleRule() :
10371037 {
10381038 CSSParseException cpe = toCSSParseException("invalidStyleRule", e);
10391039 getErrorHandler().error(cpe);
1040- error_skipblock("ignoringFollowingDeclarations ", cpe);
1040+ error_skipblock("ignoringRule ", cpe);
10411041 }
10421042 finally {
10431043 if (start) {
Original file line number Diff line number Diff line change @@ -1672,7 +1672,7 @@ public void malformedDeclaration() throws Exception {
16721672
16731673 assertEquals (0 , errorHandler .getFatalErrorCount ());
16741674 assertEquals (1 , errorHandler .getWarningCount ());
1675- assertTrue (errorHandler .getWarningMessage ().startsWith ("Ignoring the following declarations in this rule." ),
1675+ assertTrue (errorHandler .getWarningMessage ().startsWith ("Ignoring the whole rule." ),
16761676 errorHandler .getWarningMessage ());
16771677 assertEquals ("6" , errorHandler .getWarningLines ());
16781678 assertEquals ("48" , errorHandler .getWarningColumns ());
@@ -1765,7 +1765,7 @@ public void malformedStatements() throws Exception {
17651765
17661766 assertEquals (0 , errorHandler .getFatalErrorCount ());
17671767 assertEquals (1 , errorHandler .getWarningCount ());
1768- assertEquals ("Ignoring the following declarations in this rule." , errorHandler .getWarningMessage ());
1768+ assertEquals ("Ignoring the whole rule." , errorHandler .getWarningMessage ());
17691769 assertEquals ("2" , errorHandler .getWarningLines ());
17701770 assertEquals ("3" , errorHandler .getWarningColumns ());
17711771
You can’t perform that action at this time.
0 commit comments