summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2017-05-01 19:22:49 +0200
committerLeo Balter <leonardo.balter@gmail.com>2017-05-01 13:22:49 -0400
commit09f01de87e0fe9db8bbc1dd0eb98ccfebd16b12d (patch)
tree43e39e05b25039ac1329149d835d41d210b5f2ee /CONTRIBUTING.md
parentd23063c7aaa76a202ffc11d6e5bd1b68c385f117 (diff)
downloadqtdeclarative-testsuites-09f01de87e0fe9db8bbc1dd0eb98ccfebd16b12d.tar.gz
CONTRIBUTING: Fix typo (#1013)
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d7e0aeec2..9b3b2cef6 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -160,7 +160,7 @@ assert(value, message) | throw a new Test262Error instance if the specified valu
assert.sameValue(actual, expected, message) | throw a new Test262Error instance if the first two arguments are not [the same value](https://tc39.github.io/ecma262/#sec-samevalue); accepts an optional string message for use in creating the error
assert.notSameValue(actual, unexpected, message) | throw a new Test262Error instance if the first two arguments are [the same value](https://tc39.github.io/ecma262/#sec-samevalue); accepts an optional string message for use in creating the error
assert.throws(expectedErrorConstructor, fn, message) | throw a new Test262Error instance if the provided function does not throw an error, or if the constructor of the value thrown does not match the provided constructor
-assert.throws.early(expectedErrorConstructor, fn) | throw a new Test262Error instance if the provided function does not throw an early error, or if the constructor of the value thrown does not match the provided constructor. This assertion catches only errors that will be parsed through `Function(code)`.
+assert.throws.early(expectedErrorConstructor, code) | throw a new Test262Error instance if the provided code does not throw an early error, or if the constructor of the value thrown does not match the provided constructor. This assertion catches only errors that will be parsed through `Function(code)`.
```
/// error class