From 8b597d45500f1c7eff69e18c3c2e7d9a692d07cc Mon Sep 17 00:00:00 2001
From: Leo Balter <leonardo.balter@gmail.com>
Date: Tue, 13 Nov 2018 17:46:24 -0500
Subject: [PATCH] Update test template for dynamic import, use DONOTEVALUATE

---
 .../syntax/invalid/nested-with-expression.template              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 }*/) {}
-- 
GitLab