Skip to content

Commit db9321d

Browse files
committed
use latest preprocessor an adjust expectations
1 parent b088631 commit db9321d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test/java/org/htmlunit/libraries/HtmxTest2x0x3.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
package org.htmlunit.libraries;
1616

1717
import org.htmlunit.WebClient;
18-
import org.htmlunit.javascript.preprocessor.HtmxTwoZeroThreeScriptPreProcessor;
18+
import org.htmlunit.javascript.preprocessor.HtmxTwoZeroSevenScriptPreProcessor;
1919
import org.htmlunit.junit.annotation.Alerts;
2020
import org.htmlunit.junit.annotation.HtmlUnitNYI;
2121
import org.junit.jupiter.api.Test;
@@ -35,10 +35,10 @@ public class HtmxTest2x0x3 extends HtmxTest {
3535
FF = "passes:605failures:0",
3636
FF_ESR = "passes:605failures:0")
3737
@HtmlUnitNYI(
38-
CHROME = "passes:597failures:10",
39-
EDGE = "passes:597failures:10",
40-
FF = "passes:597failures:10",
41-
FF_ESR = "passes:597failures:10")
38+
CHROME = "passes:599failures:8",
39+
EDGE = "passes:599failures:8",
40+
FF = "passes:599failures:8",
41+
FF_ESR = "passes:599failures:8")
4242
public void htmx() throws Exception {
4343
htmx("htmx-2.0.3");
4444
}
@@ -47,7 +47,7 @@ public void htmx() throws Exception {
4747
protected void setupWebClient(final WebClient webClient) {
4848
super.setupWebClient(webClient);
4949

50-
webClient.setScriptPreProcessor(new HtmxTwoZeroThreeScriptPreProcessor());
50+
webClient.setScriptPreProcessor(new HtmxTwoZeroSevenScriptPreProcessor());
5151
webClient.getOptions().setThrowExceptionOnScriptError(false);
5252
}
5353
}

0 commit comments

Comments
 (0)