Skip to content

Commit

Permalink
Merge pull request web-platform-tests#206 from tidoust/promise_rejects
Browse files Browse the repository at this point in the history
Fix typo in promise_rejects example
  • Loading branch information
jdm committed Aug 26, 2016
2 parents 8550cfe + 148d66e commit 2e9231b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ function bar() {
}

promise_test(function(t) {
return promise_rejects(t, new TypeError(), bar);
return promise_rejects(t, new TypeError(), bar());
}, "Another example");
```
Expand Down

0 comments on commit 2e9231b

Please sign in to comment.