From b096b30f601b807ec83fc2eec3a3014c965a8957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Wed, 30 Apr 2025 14:16:15 +0200 Subject: [PATCH] Enable commented-out test --- test/staging/sm/lexical-environment/for-loop.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; ; ) ;");