Index: test/mjsunit/es6/regexp-flags.js |
diff --git a/test/mjsunit/es6/regexp-flags.js b/test/mjsunit/es6/regexp-flags.js |
index 252978da69b66c06df08b5311c4f1eef4f7d81cb..732987fa3839c93ff19e9cb47f2355adce2d422f 100644 |
--- a/test/mjsunit/es6/regexp-flags.js |
+++ b/test/mjsunit/es6/regexp-flags.js |
@@ -44,11 +44,9 @@ |
// Overridden flag getters affects the flags getter. |
assertEquals("gi", r3.flags); |
assertEquals(4, get_count); |
-// Overridden flag getters affect string.replace |
-// TODO(adamk): Add more tests here once we've switched |
-// to use [[OriginalFlags]] in more cases. |
+// Overridden flag getters do not affect the internal flags. |
assertEquals(expected, string.replace(r3, "X")); |
-assertEquals(5, get_count); |
+assertEquals(4, get_count); |
function testName(name) { |