summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_5/RegExp/exec.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-03-27 13:22:30 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-03-27 13:22:30 +0200
commit8d5ec757ece850fb7ad5c712868f305636e41177 (patch)
tree92acdb7783ab29bdfa2837ad54afa491c2c42867 /js/src/tests/ecma_5/RegExp/exec.js
parente19749682050ff716fc9ff3bbc05ee3911570670 (diff)
parent5fd5b2ac2f396eb1d8707a691aa26ad159ad25e3 (diff)
downloadUXP-8d5ec757ece850fb7ad5c712868f305636e41177.tar
UXP-8d5ec757ece850fb7ad5c712868f305636e41177.tar.gz
UXP-8d5ec757ece850fb7ad5c712868f305636e41177.tar.lz
UXP-8d5ec757ece850fb7ad5c712868f305636e41177.tar.xz
UXP-8d5ec757ece850fb7ad5c712868f305636e41177.zip
Merge remote-tracking branch 'janek/js_regexp_lastindex_1'
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;