From cdb5e60003b978aab73cfc51fb10273aa5fdd44c Mon Sep 17 00:00:00 2001 From: jedel1043 Date: Mon, 22 May 2023 17:45:21 -0600 Subject: [PATCH] Fix regression --- boa_engine/src/tests/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boa_engine/src/tests/mod.rs b/boa_engine/src/tests/mod.rs index 667eee3a384..f9261ba4b48 100644 --- a/boa_engine/src/tests/mod.rs +++ b/boa_engine/src/tests/mod.rs @@ -422,8 +422,8 @@ fn strict_mode_reserved_name() { ("var protected = 10;", "unexpected token 'protected', strict reserved word cannot be an identifier at line 1, col 19"), ("var public = 10;", "unexpected token 'public', strict reserved word cannot be an identifier at line 1, col 19"), ("var static = 10;", "unexpected token 'static', strict reserved word cannot be an identifier at line 1, col 19"), - ("var eval = 10;", "unexpected token 'eval', binding identifier `eval` not allowed in strict mode at line 1, col 19"), - ("var arguments = 10;", "unexpected token 'arguments', binding identifier `arguments` not allowed in strict mode at line 1, col 19"), + ("var eval = 10;", "binding identifier `eval` not allowed in strict mode at line 1, col 19"), + ("var arguments = 10;", "binding identifier `arguments` not allowed in strict mode at line 1, col 19"), ("var let = 10;", "unexpected token 'let', strict reserved word cannot be an identifier at line 1, col 19"), ("var yield = 10;", "unexpected token 'yield', strict reserved word cannot be an identifier at line 1, col 19"), ];