diff --git a/src/dynamic-import/syntax/invalid/nested-with-expression.template b/src/dynamic-import/syntax/invalid/nested-with-expression.template index 3178c74e55..591ea20b6a 100644 --- a/src/dynamic-import/syntax/invalid/nested-with-expression.template +++ b/src/dynamic-import/syntax/invalid/nested-with-expression.template @@ -25,6 +25,6 @@ negative: type: SyntaxError ---*/ -throw "Test262: This statement should not be evaluated."; +$DONOTEVALUATE(); with (/*{ import }*/) {}