We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baacfd9 commit f0ec036Copy full SHA for f0ec036
src/test/java/org/htmlunit/corejs/NativeErrorTest.java
@@ -22,7 +22,7 @@ public void stack() throws Exception {
22
+ " null.method();\n"
23
+ " } catch (e) {\n"
24
+ " if (e.stack)\n"
25
- + " output += e.stack.indexOf('\tat test.js:3 (test)') != -1;\n"
+ + " output += e.stack.indexOf('\tat test.js:2 (test)') != -1;\n"
26
+ " else\n"
27
+ " output += 'undefined';\n"
28
+ " }\n"
@@ -31,7 +31,7 @@ public void stack() throws Exception {
31
+ "test();\n"
32
+ "output";
33
34
- Utils.assertWithAllModes_ES6(Boolean.TRUE, script);
+ Utils.assertWithAllModes_ES6("true", script);
35
}
36
37
/**
0 commit comments