Index: test/mjsunit/regress/regress-136048.js |
diff --git a/test/mjsunit/regress/regress-136048.js b/test/mjsunit/regress/regress-136048.js |
index c9972e96fc062b4618f8bf40ee83c15f185ff17c..21ae622840e0c87968d1ac8431560f499fdf0875 100644 |
--- a/test/mjsunit/regress/regress-136048.js |
+++ b/test/mjsunit/regress/regress-136048.js |
@@ -26,9 +26,9 @@ |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
try { |
- /foo/\u0069 |
+ eval("/foo/\\u0069") |
} catch (e) { |
assertEquals( |
- "SyntaxError: Invalid flags supplied to RegExp constructor '\\u0069'", |
+ "SyntaxError: Invalid regular expression flags", |
e.toString()); |
} |