mirror of https://github.com/tc39/test262.git
Update CONTRIBUTING.md per @bakkot’s feedback
This commit is contained in:
parent
22ecf21b38
commit
65f679e3d4
|
@ -209,7 +209,7 @@ function Test262Error(message) {
|
||||||
|
|
||||||
## Handling Errors and Negative Test Cases
|
## Handling Errors and Negative Test Cases
|
||||||
|
|
||||||
Expectations for **parsing errors** should be declared using [the `negative` frontmatter flag](#negative). They must also include the exact `throw` statement specified in this example (in order to guarantee that implementations do not execute the code):
|
Expectations for **parsing errors** should be declared using [the `negative` frontmatter flag](#negative). They must also include `$DONOTEVALUATE();` (in order to guarantee that implementations do not execute the code):
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
/*---
|
/*---
|
||||||
|
|
Loading…
Reference in New Issue