From e116ccff0c30c8aef6ee25e73542e7f79fa89c95 Mon Sep 17 00:00:00 2001
From: Leo Balter <leonardo.balter@gmail.com>
Date: Tue, 2 Oct 2018 14:32:32 -0400
Subject: [PATCH] Improve case clarify for syntax templates

---
 src/dynamic-import/empty-args-early-error.case                | 4 ++--
 src/dynamic-import/empty-str-arg.case                         | 4 ++--
 .../invalid/nested-arrow-assignment-expression.template       | 2 +-
 src/dynamic-import/syntax/invalid/nested-arrow.template       | 2 +-
 .../syntax/invalid/nested-async-function-await.template       | 2 +-
 .../invalid/nested-async-function-return-await.template       | 2 +-
 .../syntax/invalid/nested-async-function.template             | 2 +-
 .../syntax/invalid/nested-block-labeled.template              | 2 +-
 src/dynamic-import/syntax/invalid/nested-block.template       | 2 +-
 src/dynamic-import/syntax/invalid/nested-do-while.template    | 2 +-
 src/dynamic-import/syntax/invalid/nested-do.template          | 2 +-
 .../syntax/invalid/nested-else-braceless.template             | 2 +-
 src/dynamic-import/syntax/invalid/nested-else.template        | 2 +-
 .../syntax/invalid/nested-function-return.template            | 2 +-
 src/dynamic-import/syntax/invalid/nested-function.template    | 2 +-
 .../syntax/invalid/nested-if-braceless.template               | 2 +-
 src/dynamic-import/syntax/invalid/nested-if.template          | 2 +-
 src/dynamic-import/syntax/invalid/nested-labeled.template     | 2 +-
 src/dynamic-import/syntax/invalid/nested-while.template       | 2 +-
 src/dynamic-import/syntax/invalid/top-level.template          | 2 +-
 .../syntax/valid/nested-arrow-assignment-expression.template  | 2 +-
 src/dynamic-import/syntax/valid/nested-arrow.template         | 2 +-
 .../syntax/valid/nested-async-function-await.template         | 2 +-
 .../syntax/valid/nested-async-function-return-await.template  | 2 +-
 .../syntax/valid/nested-async-function.template               | 2 +-
 src/dynamic-import/syntax/valid/nested-block-labeled.template | 2 +-
 src/dynamic-import/syntax/valid/nested-block.template         | 2 +-
 src/dynamic-import/syntax/valid/nested-do-while.template      | 2 +-
 src/dynamic-import/syntax/valid/nested-do.template            | 2 +-
 .../syntax/valid/nested-else-braceless.template               | 2 +-
 src/dynamic-import/syntax/valid/nested-else.template          | 2 +-
 .../syntax/valid/nested-function-return.template              | 2 +-
 src/dynamic-import/syntax/valid/nested-function.template      | 2 +-
 src/dynamic-import/syntax/valid/nested-if-braceless.template  | 2 +-
 src/dynamic-import/syntax/valid/nested-if.template            | 2 +-
 src/dynamic-import/syntax/valid/nested-labeled.template       | 2 +-
 src/dynamic-import/syntax/valid/nested-while.template         | 2 +-
 src/dynamic-import/syntax/valid/top-level.template            | 2 +-
 38 files changed, 40 insertions(+), 40 deletions(-)

diff --git a/src/dynamic-import/empty-args-early-error.case b/src/dynamic-import/empty-args-early-error.case
index 1d10aed931..20f6ffc490 100644
--- a/src/dynamic-import/empty-args-early-error.case
+++ b/src/dynamic-import/empty-args-early-error.case
@@ -9,7 +9,7 @@ info: |
       import()
 
 ---*/
-//- params
-
+//- import
+import()
 //- teardown
 /* The params region intentionally empty */
diff --git a/src/dynamic-import/empty-str-arg.case b/src/dynamic-import/empty-str-arg.case
index 0a83fe4979..4f88699afb 100644
--- a/src/dynamic-import/empty-str-arg.case
+++ b/src/dynamic-import/empty-str-arg.case
@@ -6,5 +6,5 @@ desc: Calling import('')
 template: syntax/valid
 ---*/
 
-//- params
-''
+//- import
+import('')
diff --git a/src/dynamic-import/syntax/invalid/nested-arrow-assignment-expression.template b/src/dynamic-import/syntax/invalid/nested-arrow-assignment-expression.template
index d7ba06d126..98ee16f6a1 100644
--- a/src/dynamic-import/syntax/invalid/nested-arrow-assignment-expression.template
+++ b/src/dynamic-import/syntax/invalid/nested-arrow-assignment-expression.template
@@ -28,4 +28,4 @@ negative:
 
 throw "Test262: This statement should not be evaluated.";
 
-let f = () => import(/*{ params }*/);
+let f = () => /*{ import }*/;
diff --git a/src/dynamic-import/syntax/invalid/nested-arrow.template b/src/dynamic-import/syntax/invalid/nested-arrow.template
index 87d81473ac..5a50736bae 100644
--- a/src/dynamic-import/syntax/invalid/nested-arrow.template
+++ b/src/dynamic-import/syntax/invalid/nested-arrow.template
@@ -29,5 +29,5 @@ negative:
 throw "Test262: This statement should not be evaluated.";
 
 let f = () => {
-  import(/*{ params }*/);
+  /*{ import }*/;
 };
diff --git a/src/dynamic-import/syntax/invalid/nested-async-function-await.template b/src/dynamic-import/syntax/invalid/nested-async-function-await.template
index 36cf95be97..fb149cfabe 100644
--- a/src/dynamic-import/syntax/invalid/nested-async-function-await.template
+++ b/src/dynamic-import/syntax/invalid/nested-async-function-await.template
@@ -29,5 +29,5 @@ negative:
 throw "Test262: This statement should not be evaluated.";
 
 async function f() {
-  await import(/*{ params }*/);
+  await /*{ import }*/;
 }
diff --git a/src/dynamic-import/syntax/invalid/nested-async-function-return-await.template b/src/dynamic-import/syntax/invalid/nested-async-function-return-await.template
index 6d3c320b6f..ebcd0f8205 100644
--- a/src/dynamic-import/syntax/invalid/nested-async-function-return-await.template
+++ b/src/dynamic-import/syntax/invalid/nested-async-function-return-await.template
@@ -29,6 +29,6 @@ negative:
 throw "Test262: This statement should not be evaluated.";
 
 async function f() {
-  return await import(/*{ params }*/);
+  return await /*{ import }*/;
 }
 
diff --git a/src/dynamic-import/syntax/invalid/nested-async-function.template b/src/dynamic-import/syntax/invalid/nested-async-function.template
index 30cff1cd0b..0ade145ee2 100644
--- a/src/dynamic-import/syntax/invalid/nested-async-function.template
+++ b/src/dynamic-import/syntax/invalid/nested-async-function.template
@@ -29,6 +29,6 @@ negative:
 throw "Test262: This statement should not be evaluated.";
 
 async function f() {
-  import(/*{ params }*/);
+  /*{ import }*/;
 }
 
diff --git a/src/dynamic-import/syntax/invalid/nested-block-labeled.template b/src/dynamic-import/syntax/invalid/nested-block-labeled.template
index e4f3060026..2c37acf008 100644
--- a/src/dynamic-import/syntax/invalid/nested-block-labeled.template
+++ b/src/dynamic-import/syntax/invalid/nested-block-labeled.template
@@ -29,5 +29,5 @@ negative:
 throw "Test262: This statement should not be evaluated.";
 
 label: {
-  import(/*{ params }*/);
+  /*{ import }*/;
 };
diff --git a/src/dynamic-import/syntax/invalid/nested-block.template b/src/dynamic-import/syntax/invalid/nested-block.template
index 402289a11a..d569536bb9 100644
--- a/src/dynamic-import/syntax/invalid/nested-block.template
+++ b/src/dynamic-import/syntax/invalid/nested-block.template
@@ -29,5 +29,5 @@ negative:
 throw "Test262: This statement should not be evaluated.";
 
 {
-  import(/*{ params }*/);
+  /*{ import }*/;
 };
diff --git a/src/dynamic-import/syntax/invalid/nested-do-while.template b/src/dynamic-import/syntax/invalid/nested-do-while.template
index 2e4e386913..bf86ff0499 100644
--- a/src/dynamic-import/syntax/invalid/nested-do-while.template
+++ b/src/dynamic-import/syntax/invalid/nested-do-while.template
@@ -29,5 +29,5 @@ negative:
 throw "Test262: This statement should not be evaluated.";
 
 do {
-  import(/*{ params }*/);
+  /*{ import }*/;
 } while (false);
diff --git a/src/dynamic-import/syntax/invalid/nested-do.template b/src/dynamic-import/syntax/invalid/nested-do.template
index 0b02887b21..b308638e80 100644
--- a/src/dynamic-import/syntax/invalid/nested-do.template
+++ b/src/dynamic-import/syntax/invalid/nested-do.template
@@ -31,5 +31,5 @@ throw "Test262: This statement should not be evaluated.";
 let x = 0;
 do {
   x++;
-  import(/*{ params }*/);
+  /*{ import }*/;
 } while (!x);
diff --git a/src/dynamic-import/syntax/invalid/nested-else-braceless.template b/src/dynamic-import/syntax/invalid/nested-else-braceless.template
index 71ee8417d3..61989c9b59 100644
--- a/src/dynamic-import/syntax/invalid/nested-else-braceless.template
+++ b/src/dynamic-import/syntax/invalid/nested-else-braceless.template
@@ -30,4 +30,4 @@ throw "Test262: This statement should not be evaluated.";
 
 if (false) {
 
-} else import(/*{ params }*/);
+} else /*{ import }*/;
diff --git a/src/dynamic-import/syntax/invalid/nested-else.template b/src/dynamic-import/syntax/invalid/nested-else.template
index 09f8144185..14017d2c5e 100644
--- a/src/dynamic-import/syntax/invalid/nested-else.template
+++ b/src/dynamic-import/syntax/invalid/nested-else.template
@@ -31,5 +31,5 @@ throw "Test262: This statement should not be evaluated.";
 if (false) {
 
 } else {
-  import(/*{ params }*/);
+  /*{ import }*/;
 }
diff --git a/src/dynamic-import/syntax/invalid/nested-function-return.template b/src/dynamic-import/syntax/invalid/nested-function-return.template
index 855b080e11..1590943656 100644
--- a/src/dynamic-import/syntax/invalid/nested-function-return.template
+++ b/src/dynamic-import/syntax/invalid/nested-function-return.template
@@ -29,5 +29,5 @@ negative:
 throw "Test262: This statement should not be evaluated.";
 
 function fn() {
-  return import(/*{ params }*/);
+  return /*{ import }*/;
 }
diff --git a/src/dynamic-import/syntax/invalid/nested-function.template b/src/dynamic-import/syntax/invalid/nested-function.template
index 595ef5f31c..e81ddf9c9a 100644
--- a/src/dynamic-import/syntax/invalid/nested-function.template
+++ b/src/dynamic-import/syntax/invalid/nested-function.template
@@ -29,5 +29,5 @@ negative:
 throw "Test262: This statement should not be evaluated.";
 
 function fn() {
-  import(/*{ params }*/);
+  /*{ import }*/;
 }
diff --git a/src/dynamic-import/syntax/invalid/nested-if-braceless.template b/src/dynamic-import/syntax/invalid/nested-if-braceless.template
index 5855636f36..7f51cb411b 100644
--- a/src/dynamic-import/syntax/invalid/nested-if-braceless.template
+++ b/src/dynamic-import/syntax/invalid/nested-if-braceless.template
@@ -28,4 +28,4 @@ negative:
 
 throw "Test262: This statement should not be evaluated.";
 
-if (true) import(/*{ params }*/);
+if (true) /*{ import }*/;
diff --git a/src/dynamic-import/syntax/invalid/nested-if.template b/src/dynamic-import/syntax/invalid/nested-if.template
index 365e293d89..830eab471b 100644
--- a/src/dynamic-import/syntax/invalid/nested-if.template
+++ b/src/dynamic-import/syntax/invalid/nested-if.template
@@ -29,5 +29,5 @@ negative:
 throw "Test262: This statement should not be evaluated.";
 
 if (true) {
-  import(/*{ params }*/);
+  /*{ import }*/;
 }
diff --git a/src/dynamic-import/syntax/invalid/nested-labeled.template b/src/dynamic-import/syntax/invalid/nested-labeled.template
index bfaf1267c7..83e13bec5e 100644
--- a/src/dynamic-import/syntax/invalid/nested-labeled.template
+++ b/src/dynamic-import/syntax/invalid/nested-labeled.template
@@ -29,5 +29,5 @@ negative:
 throw "Test262: This statement should not be evaluated.";
 
 {
-  import(/*{ params }*/);
+  /*{ import }*/;
 };
diff --git a/src/dynamic-import/syntax/invalid/nested-while.template b/src/dynamic-import/syntax/invalid/nested-while.template
index 33deb3305d..daeb7b4a44 100644
--- a/src/dynamic-import/syntax/invalid/nested-while.template
+++ b/src/dynamic-import/syntax/invalid/nested-while.template
@@ -31,5 +31,5 @@ throw "Test262: This statement should not be evaluated.";
 let x = 0;
 while (!x) {
   x++;
-  import(/*{ params }*/);
+  /*{ import }*/;
 };
diff --git a/src/dynamic-import/syntax/invalid/top-level.template b/src/dynamic-import/syntax/invalid/top-level.template
index 400baa31a4..c85c6393eb 100644
--- a/src/dynamic-import/syntax/invalid/top-level.template
+++ b/src/dynamic-import/syntax/invalid/top-level.template
@@ -18,4 +18,4 @@ negative:
 
 throw "Test262: This statement should not be evaluated.";
 
-import(/*{ params }*/);
+/*{ import }*/;
diff --git a/src/dynamic-import/syntax/valid/nested-arrow-assignment-expression.template b/src/dynamic-import/syntax/valid/nested-arrow-assignment-expression.template
index 054ee113f1..1e3b61b9d5 100644
--- a/src/dynamic-import/syntax/valid/nested-arrow-assignment-expression.template
+++ b/src/dynamic-import/syntax/valid/nested-arrow-assignment-expression.template
@@ -23,4 +23,4 @@ flags: [module]
 features: [dynamic-import]
 ---*/
 
-let f = () => import(/*{ params }*/);
+let f = () => /*{ import }*/;
diff --git a/src/dynamic-import/syntax/valid/nested-arrow.template b/src/dynamic-import/syntax/valid/nested-arrow.template
index a30d99b7f1..f906eaa4dd 100644
--- a/src/dynamic-import/syntax/valid/nested-arrow.template
+++ b/src/dynamic-import/syntax/valid/nested-arrow.template
@@ -24,5 +24,5 @@ features: [dynamic-import]
 ---*/
 
 let f = () => {
-  import(/*{ params }*/);
+  /*{ import }*/;
 };
diff --git a/src/dynamic-import/syntax/valid/nested-async-function-await.template b/src/dynamic-import/syntax/valid/nested-async-function-await.template
index 4fbcf30651..5b8adb2ad2 100644
--- a/src/dynamic-import/syntax/valid/nested-async-function-await.template
+++ b/src/dynamic-import/syntax/valid/nested-async-function-await.template
@@ -24,5 +24,5 @@ features: [dynamic-import]
 ---*/
 
 async function f() {
-  await import(/*{ params }*/);
+  await /*{ import }*/;
 }
diff --git a/src/dynamic-import/syntax/valid/nested-async-function-return-await.template b/src/dynamic-import/syntax/valid/nested-async-function-return-await.template
index f693b00d2b..8d5fc08523 100644
--- a/src/dynamic-import/syntax/valid/nested-async-function-return-await.template
+++ b/src/dynamic-import/syntax/valid/nested-async-function-return-await.template
@@ -24,6 +24,6 @@ features: [dynamic-import]
 ---*/
 
 async function f() {
-  return await import(/*{ params }*/);
+  return await /*{ import }*/;
 }
 
diff --git a/src/dynamic-import/syntax/valid/nested-async-function.template b/src/dynamic-import/syntax/valid/nested-async-function.template
index 003d6b36b7..1f9367b5ae 100644
--- a/src/dynamic-import/syntax/valid/nested-async-function.template
+++ b/src/dynamic-import/syntax/valid/nested-async-function.template
@@ -24,6 +24,6 @@ features: [dynamic-import]
 ---*/
 
 async function f() {
-  import(/*{ params }*/);
+  /*{ import }*/;
 }
 
diff --git a/src/dynamic-import/syntax/valid/nested-block-labeled.template b/src/dynamic-import/syntax/valid/nested-block-labeled.template
index d61a3660ab..970edc5fb7 100644
--- a/src/dynamic-import/syntax/valid/nested-block-labeled.template
+++ b/src/dynamic-import/syntax/valid/nested-block-labeled.template
@@ -24,5 +24,5 @@ features: [dynamic-import]
 ---*/
 
 label: {
-  import(/*{ params }*/);
+  /*{ import }*/;
 };
diff --git a/src/dynamic-import/syntax/valid/nested-block.template b/src/dynamic-import/syntax/valid/nested-block.template
index d4426718be..38e2356516 100644
--- a/src/dynamic-import/syntax/valid/nested-block.template
+++ b/src/dynamic-import/syntax/valid/nested-block.template
@@ -24,5 +24,5 @@ features: [dynamic-import]
 ---*/
 
 {
-  import(/*{ params }*/);
+  /*{ import }*/;
 };
diff --git a/src/dynamic-import/syntax/valid/nested-do-while.template b/src/dynamic-import/syntax/valid/nested-do-while.template
index 6f45278a4e..1b5a391c02 100644
--- a/src/dynamic-import/syntax/valid/nested-do-while.template
+++ b/src/dynamic-import/syntax/valid/nested-do-while.template
@@ -24,5 +24,5 @@ features: [dynamic-import]
 ---*/
 
 do {
-  import(/*{ params }*/);
+  /*{ import }*/;
 } while (false);
diff --git a/src/dynamic-import/syntax/valid/nested-do.template b/src/dynamic-import/syntax/valid/nested-do.template
index ee1c149d70..8545c440b9 100644
--- a/src/dynamic-import/syntax/valid/nested-do.template
+++ b/src/dynamic-import/syntax/valid/nested-do.template
@@ -25,5 +25,5 @@ features: [dynamic-import]
 let x = 0;
 do {
   x++;
-  import(/*{ params }*/);
+  /*{ import }*/;
 } while (!x);
diff --git a/src/dynamic-import/syntax/valid/nested-else-braceless.template b/src/dynamic-import/syntax/valid/nested-else-braceless.template
index b020744eab..86948d9302 100644
--- a/src/dynamic-import/syntax/valid/nested-else-braceless.template
+++ b/src/dynamic-import/syntax/valid/nested-else-braceless.template
@@ -25,4 +25,4 @@ features: [dynamic-import]
 
 if (false) {
 
-} else import(/*{ params }*/);
+} else /*{ import }*/;
diff --git a/src/dynamic-import/syntax/valid/nested-else.template b/src/dynamic-import/syntax/valid/nested-else.template
index 3189049b78..1f93708b69 100644
--- a/src/dynamic-import/syntax/valid/nested-else.template
+++ b/src/dynamic-import/syntax/valid/nested-else.template
@@ -26,5 +26,5 @@ features: [dynamic-import]
 if (false) {
 
 } else {
-  import(/*{ params }*/);
+  /*{ import }*/;
 }
diff --git a/src/dynamic-import/syntax/valid/nested-function-return.template b/src/dynamic-import/syntax/valid/nested-function-return.template
index 640468fb34..db04a04757 100644
--- a/src/dynamic-import/syntax/valid/nested-function-return.template
+++ b/src/dynamic-import/syntax/valid/nested-function-return.template
@@ -24,5 +24,5 @@ features: [dynamic-import]
 ---*/
 
 function fn() {
-  return import(/*{ params }*/);
+  return /*{ import }*/;
 }
diff --git a/src/dynamic-import/syntax/valid/nested-function.template b/src/dynamic-import/syntax/valid/nested-function.template
index 7a599c4d3e..8fd7eff00d 100644
--- a/src/dynamic-import/syntax/valid/nested-function.template
+++ b/src/dynamic-import/syntax/valid/nested-function.template
@@ -24,5 +24,5 @@ features: [dynamic-import]
 ---*/
 
 function fn() {
-  import(/*{ params }*/);
+  /*{ import }*/;
 }
diff --git a/src/dynamic-import/syntax/valid/nested-if-braceless.template b/src/dynamic-import/syntax/valid/nested-if-braceless.template
index 93d0673761..0cd924889f 100644
--- a/src/dynamic-import/syntax/valid/nested-if-braceless.template
+++ b/src/dynamic-import/syntax/valid/nested-if-braceless.template
@@ -23,4 +23,4 @@ info: |
 features: [dynamic-import]
 ---*/
 
-if (true) import(/*{ params }*/);
+if (true) /*{ import }*/;
diff --git a/src/dynamic-import/syntax/valid/nested-if.template b/src/dynamic-import/syntax/valid/nested-if.template
index a58c649ba5..5cebc7a628 100644
--- a/src/dynamic-import/syntax/valid/nested-if.template
+++ b/src/dynamic-import/syntax/valid/nested-if.template
@@ -24,5 +24,5 @@ features: [dynamic-import]
 ---*/
 
 if (true) {
-  import(/*{ params }*/);
+  /*{ import }*/;
 }
diff --git a/src/dynamic-import/syntax/valid/nested-labeled.template b/src/dynamic-import/syntax/valid/nested-labeled.template
index c58078c523..31b65b5627 100644
--- a/src/dynamic-import/syntax/valid/nested-labeled.template
+++ b/src/dynamic-import/syntax/valid/nested-labeled.template
@@ -24,5 +24,5 @@ features: [dynamic-import]
 ---*/
 
 {
-  import(/*{ params }*/);
+  /*{ import }*/;
 };
diff --git a/src/dynamic-import/syntax/valid/nested-while.template b/src/dynamic-import/syntax/valid/nested-while.template
index 6a4c4ab814..ac2cd12bf1 100644
--- a/src/dynamic-import/syntax/valid/nested-while.template
+++ b/src/dynamic-import/syntax/valid/nested-while.template
@@ -26,5 +26,5 @@ features: [dynamic-import]
 let x = 0;
 while (!x) {
   x++;
-  import(/*{ params }*/);
+  /*{ import }*/;
 };
diff --git a/src/dynamic-import/syntax/valid/top-level.template b/src/dynamic-import/syntax/valid/top-level.template
index 6782aee0bd..33387103d8 100644
--- a/src/dynamic-import/syntax/valid/top-level.template
+++ b/src/dynamic-import/syntax/valid/top-level.template
@@ -13,4 +13,4 @@ flags: [module]
 features: [dynamic-import]
 ---*/
 
-import(/*{ params }*/);
+/*{ import }*/;
-- 
GitLab