mirror of https://github.com/tc39/test262.git
Tests with the raw flag can't use $DONOTEVALUATE();
This commit is contained in:
parent
4ca5a94852
commit
f13a0c5aaf
|
@ -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]
|
||||
---*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/*
|
||||
$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]
|
||||
---*/
|
||||
---*/
|
||||
|
|
|
@ -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.";
|
||||
|
|
|
@ -13,4 +13,4 @@ negative:
|
|||
features: [hashbang]
|
||||
---*/
|
||||
|
||||
$DONOTEVALUATE();
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -5,7 +5,6 @@ description: >
|
|||
info: |
|
||||
HashbangComment::
|
||||
#! SingleLineCommentChars[opt]
|
||||
flags: [raw]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
|
@ -16,4 +15,4 @@ $DONOTEVALUATE();
|
|||
|
||||
{
|
||||
#!
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue