Index: test/mjsunit/regexp.js |
diff --git a/test/mjsunit/regexp.js b/test/mjsunit/regexp.js |
index 04c723665a60162c40b8c8876905cf581c2f8b08..c9a1fd21b328449ab1d320d5041fed86eb4c0f75 100644 |
--- a/test/mjsunit/regexp.js |
+++ b/test/mjsunit/regexp.js |
@@ -564,21 +564,21 @@ log = []; |
re.lastIndex = fakeLastIndex; |
var result = re.exec(fakeString); |
assertEquals(["str"], result); |
-assertEquals(["ts"], log); |
+assertEquals(["ts", "li"], log); |
// Again, to check if caching interferes. |
log = []; |
re.lastIndex = fakeLastIndex; |
result = re.exec(fakeString); |
assertEquals(["str"], result); |
-assertEquals(["ts"], log); |
+assertEquals(["ts", "li"], log); |
// And one more time, just to be certain. |
log = []; |
re.lastIndex = fakeLastIndex; |
result = re.exec(fakeString); |
assertEquals(["str"], result); |
-assertEquals(["ts"], log); |
+assertEquals(["ts", "li"], log); |
// Now with a global regexp, where lastIndex is actually used. |
re = /str/g; |