Index: test/mjsunit/harmony/regexp-sticky.js |
diff --git a/test/mjsunit/harmony/regexp-sticky.js b/test/mjsunit/harmony/regexp-sticky.js |
index bd7f646d001d3acd36a69ac9ac9c62ab9d99cf5e..971adb7fed739f73372d6c2cf49bc4954fda358d 100644 |
--- a/test/mjsunit/harmony/regexp-sticky.js |
+++ b/test/mjsunit/harmony/regexp-sticky.js |
@@ -40,13 +40,13 @@ assertTrue(!!"..foobar".match(plain)); |
var sticky = /foo.bar/y; |
assertTrue(!!"foo*bar".match(sticky)); |
-assertEquals(0, sticky.lastIndex); |
+assertEquals(7, sticky.lastIndex); |
assertFalse(!!"..foo*bar".match(sticky)); |
var stickyplain = /foobar/y; |
assertTrue(!!"foobar".match(stickyplain)); |
-assertEquals(0, stickyplain.lastIndex); |
+assertEquals(6, stickyplain.lastIndex); |
assertFalse(!!"..foobar".match(stickyplain)); |
var global = /foo.bar/g; |