diff --git a/test/staging/sm/lexical-environment/for-loop.js b/test/staging/sm/lexical-environment/for-loop.js index 17005a002e..c4ac829045 100644 --- a/test/staging/sm/lexical-environment/for-loop.js +++ b/test/staging/sm/lexical-environment/for-loop.js @@ -26,8 +26,8 @@ function isOK(code) isError("for (const x; ; ) ;", SyntaxError); isError("for (const x = 5, y; ; ) ;", SyntaxError); isError("for (const [z]; ; ) ;", SyntaxError); -//isError("for (const [z, z]; ; ) ;", SyntaxError); -//isError("for (const [z, z] = [0, 1]; ; ) ;", SyntaxError); +isError("for (const [z, z]; ; ) ;", SyntaxError); +isError("for (const [z, z] = [0, 1]; ; ) ;", SyntaxError); isOK("for (let x; ; ) ;"); isOK("for (let x = 5, y; ; ) ;");