mirror of https://github.com/tc39/test262.git
Remove erroneous remnant $ERROR calls from negative SyntaxError tests
This commit is contained in:
parent
42ca7bbf93
commit
64cdeaf1ed
|
@ -13,6 +13,4 @@ negative:
|
|||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
$ERROR('This code should not be executed.');
|
||||
|
||||
try { } catch ([x, x]) {}
|
||||
|
|
|
@ -14,6 +14,4 @@ features: [let]
|
|||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
$ERROR('This code should not be executed.');
|
||||
|
||||
try { } catch (x) { let x; }
|
||||
|
|
|
@ -18,6 +18,4 @@ negative:
|
|||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
$ERROR('This code should not be executed.');
|
||||
|
||||
try { } catch (x) { for (var x of []) {} }
|
||||
|
|
Loading…
Reference in New Issue