Skip to content

Commit

Permalink
Use $DONOTEVALUATE per upstream Test262 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed May 13, 2019
1 parent dfab230 commit 7211aa8
Show file tree
Hide file tree
Showing 142 changed files with 142 additions and 142 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{ASCII=F}/u;
2 changes: 1 addition & 1 deletion basic-tests/binary-property-with-value-ASCII_-_F.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{ASCII=F}/u;
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{ASCII=Invalid}/u;
2 changes: 1 addition & 1 deletion basic-tests/binary-property-with-value-ASCII_-_Invalid.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{ASCII=Invalid}/u;
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{ASCII=N}/u;
2 changes: 1 addition & 1 deletion basic-tests/binary-property-with-value-ASCII_-_N.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{ASCII=N}/u;
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{ASCII=No}/u;
2 changes: 1 addition & 1 deletion basic-tests/binary-property-with-value-ASCII_-_No.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{ASCII=No}/u;
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{ASCII=T}/u;
2 changes: 1 addition & 1 deletion basic-tests/binary-property-with-value-ASCII_-_T.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{ASCII=T}/u;
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{ASCII=Y}/u;
2 changes: 1 addition & 1 deletion basic-tests/binary-property-with-value-ASCII_-_Y.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{ASCII=Y}/u;
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{ASCII=Yes}/u;
2 changes: 1 addition & 1 deletion basic-tests/binary-property-with-value-ASCII_-_Yes.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{ASCII=Yes}/u;
2 changes: 1 addition & 1 deletion basic-tests/character-class-range-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/[--\p{Hex}]/u;
2 changes: 1 addition & 1 deletion basic-tests/character-class-range-no-dash-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/[\uFFFF-\p{Hex}]/u;
2 changes: 1 addition & 1 deletion basic-tests/character-class-range-no-dash-start.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/[\p{Hex}-\uFFFF]/u;
2 changes: 1 addition & 1 deletion basic-tests/character-class-range-start.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/[\p{Hex}--]/u;
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{InAdlam}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-In-prefix-Block-implicit.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{InAdlam}/u;
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{InAdlam}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-In-prefix-Script-implicit.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{InAdlam}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-In-prefix-Script-negated.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{InScript=Adlam}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-In-prefix-Script.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{InScript=Adlam}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-Is-prefix-Script-negated.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{IsScript=Adlam}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-Is-prefix-Script.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{IsScript=Adlam}/u;
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{^General_Category=Letter}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-circumflex-negation.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{^General_Category=Letter}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-empty-negated.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/[\p{}]/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-empty.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/[\P{}]/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-invalid-negated.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/[\P{invalid}]/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-invalid.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/[\p{invalid}]/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-no-braces-negated.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-no-braces-value-negated.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\PL/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-no-braces-value.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\pL/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-no-braces.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p/u;
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{=Letter}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-separator-and-value-only.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{=Letter}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-separator-negated.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{General_Category:Letter}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-separator-only-negated.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{=}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-separator-only.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{=}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-separator.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{General_Category:Letter}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-unclosed-negated.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-unclosed.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-unopened-negated.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P}/u;
2 changes: 1 addition & 1 deletion basic-tests/grammar-extension-unopened.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p}/u;
2 changes: 1 addition & 1 deletion basic-tests/loose-matching-01-negated.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{ General_Category=Uppercase_Letter }/u;
2 changes: 1 addition & 1 deletion basic-tests/loose-matching-01.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{ General_Category=Uppercase_Letter }/u;
2 changes: 1 addition & 1 deletion basic-tests/loose-matching-02-negated.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\P{ Lowercase }/u;
2 changes: 1 addition & 1 deletion basic-tests/loose-matching-02.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ negative:
features: [regexp-unicode-property-escapes]
---*/

throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();

/\p{ Lowercase }/u;
Loading

0 comments on commit 7211aa8

Please sign in to comment.