Skip to content

Commit 76c507a

Browse files
committed
adjust for latest rhino
1 parent 36c5db5 commit 76c507a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/htmlunit/corejs/NativeErrorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public void stack() throws Exception {
2121
+ " null.method();\n"
2222
+ " } catch (e) {\n"
2323
+ " if (e.stack)\n"
24-
+ " output += e.stack.indexOf('\tat test.js:2 (test)') != -1;\n"
24+
+ " output += e.stack.indexOf('\tat test.js:4 (test)') != -1;\n"
2525
+ " else\n"
2626
+ " output += 'undefined';\n"
2727
+ " }\n"

0 commit comments

Comments
 (0)