Index: test/mjsunit/es6/templates.js |
diff --git a/test/mjsunit/es6/templates.js b/test/mjsunit/es6/templates.js |
index efe314ed95f29969d0024bb26518c00a977ee394..3c4584d33799a7cacb545c942ebbfac8f2d1a648 100644 |
--- a/test/mjsunit/es6/templates.js |
+++ b/test/mjsunit/es6/templates.js |
@@ -476,7 +476,7 @@ |
(function testLegacyOctal() { |
assertEquals('\u0000', `\0`); |
assertEquals('\u0000a', `\0a`); |
- for (var i = 0; i < 10; i++) { |
+ for (var i = 0; i < 8; i++) { |
var code = "`\\0" + i + "`"; |
assertThrows(code, SyntaxError); |
code = "(function(){})" + code; |
@@ -502,6 +502,8 @@ |
(function testValidNumericEscapes() { |
assertEquals("8", `\8`); |
assertEquals("9", `\9`); |
+ assertEquals("\u00008", `\08`); |
+ assertEquals("\u00009", `\09`); |
})(); |