Index: test/mjsunit/harmony/block-early-errors.js |
diff --git a/test/mjsunit/harmony/block-early-errors.js b/test/mjsunit/harmony/block-early-errors.js |
index 791f001af0e58b7602da236e8ac08c1962662a3b..8ed5ea84ec7294e67e29bd19d745d40558da26cb 100644 |
--- a/test/mjsunit/harmony/block-early-errors.js |
+++ b/test/mjsunit/harmony/block-early-errors.js |
@@ -30,7 +30,6 @@ |
function CheckException(e) { |
var string = e.toString(); |
assertInstanceof(e, SyntaxError); |
- assertTrue(string.indexOf("Illegal let") >= 0); |
} |
function Check(str) { |
@@ -49,7 +48,7 @@ function Check(str) { |
} |
// Check for early syntax errors when using let |
-// declarations outside of extended mode. |
+// declarations outside of strict mode. |
Check("let x;"); |
Check("let x = 1;"); |
Check("let x, y;"); |