Index: test/mjsunit/harmony/regexp-named-captures.js |
diff --git a/test/mjsunit/harmony/regexp-named-captures.js b/test/mjsunit/harmony/regexp-named-captures.js |
index b31eb3cee6c8909667e0ee37071283a780ae6633..b61bf45a3bdbb8613d94d71d14677b846da849e7 100644 |
--- a/test/mjsunit/harmony/regexp-named-captures.js |
+++ b/test/mjsunit/harmony/regexp-named-captures.js |
@@ -147,7 +147,7 @@ assertThrows('/(?<𐒤>a)/u', SyntaxError); // ID_Continue but not ID_Start. |
assertEquals("a", /(?<π>a)/.exec("bab").groups.π); |
assertEquals("a", /(?<$>a)/.exec("bab").groups.$); |
assertEquals("a", /(?<_>a)/.exec("bab").groups._); |
-assertThrows("/(?<$𐒤>a)/", SyntaxError); |
+assertEquals("a", /(?<$𐒤>a)/.exec("bab").groups.$𐒤); |
assertEquals("a", /(?<ಠ_ಠ>a)/.exec("bab").groups.ಠ_ಠ); |
assertThrows('/(?<❤>a)/', SyntaxError); |
assertThrows('/(?<𐒤>a)/', SyntaxError); // ID_Continue but not ID_Start. |