summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_5/RegExp/exec.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/ecma_5/RegExp/exec.js')
-rw-r--r--js/src/tests/ecma_5/RegExp/exec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tests/ecma_5/RegExp/exec.js b/js/src/tests/ecma_5/RegExp/exec.js
index 411f348d9..4284b6e01 100644
--- a/js/src/tests/ecma_5/RegExp/exec.js
+++ b/js/src/tests/ecma_5/RegExp/exec.js
@@ -165,7 +165,7 @@ r = /abc/;
r.lastIndex = -17;
res = r.exec("cdefg");
assertEq(res, null);
-assertEq(r.lastIndex, 0);
+assertEq(r.lastIndex, -17);
r = /abc/g;
r.lastIndex = -42;