Index: test/mjsunit/compiler/literals.js |
diff --git a/test/mjsunit/compiler/literals.js b/test/mjsunit/compiler/literals.js |
index 8607cd9595b9120e2a3825de1cd44c288bfc320b..3bda9fc47235329ab3f7cf5702f9b99cb59859c3 100644 |
--- a/test/mjsunit/compiler/literals.js |
+++ b/test/mjsunit/compiler/literals.js |
@@ -38,8 +38,8 @@ assertEquals(8, eval("6;'abc';8")); |
// "/" comes just before "0". |
assertThrows('"\\x1/"'); |
assertThrows('"\\u111/"'); |
-assertEquals("\\x1/", RegExp("\\x1/").source); |
-assertEquals("\\u111/", RegExp("\\u111/").source); |
+assertEquals("\\x1\\/", RegExp("\\x1/").source); |
+assertEquals("\\u111\\/", RegExp("\\u111/").source); |
// ":" comes just after "9". |
assertThrows('"\\x1:"'); |