Skip to content
Snippets Groups Projects
Commit f13a0c5a authored by Leo Balter's avatar Leo Balter Committed by Rick Waldron
Browse files

Tests with the raw flag can't use $DONOTEVALUATE();

parent 4ca5a948
No related branches found
No related tags found
No related merge requests found
Showing
with 19 additions and 20 deletions
......@@ -13,4 +13,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -13,4 +13,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -13,4 +13,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -13,4 +13,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -13,4 +13,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -13,4 +13,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -13,4 +13,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -13,4 +13,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -13,4 +13,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -7,6 +7,7 @@ info: |
#! SingleLineCommentChars[opt]
features: [hashbang]
---*/
const AsyncFunction = (async function (){}).constructor;
const GeneratorFunction = (function *(){}).constructor;
const AsyncGeneratorFunction = (async function *(){}).constructor;
......
......@@ -6,6 +6,6 @@ description: >
info: |
HashbangComment::
#! SingleLineCommentChars[opt]
flags: [module]
flags: [module, raw]
features: [hashbang]
---*/
#!/*
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
these characters should not be considered within a comment
*/
/*---
......@@ -14,4 +14,4 @@ negative:
phase: parse
type: SyntaxError
features: [hashbang]
---*/
\ No newline at end of file
---*/
......@@ -5,7 +5,6 @@ description: >
info: |
HashbangComment::
#! SingleLineCommentChars[opt]
flags: [raw]
features: [hashbang]
---*/
......
......@@ -9,4 +9,3 @@ info: |
flags: [raw]
features: [hashbang]
---*/
......@@ -14,4 +14,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -14,4 +14,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -13,4 +13,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -14,4 +14,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -14,4 +14,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
......@@ -14,4 +14,4 @@ negative:
features: [hashbang]
---*/
$DONOTEVALUATE();
throw "Test262: This statement should not be evaluated.";
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment