Skip to content

Commit

Permalink
fix typos in README
Browse files Browse the repository at this point in the history
  * "fulfill()" was mispelled
  * Assert string did not match the error thrown.
  • Loading branch information
markstos committed Mar 20, 2017
1 parent c199b75 commit c90cc6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -158,9 +158,9 @@ p.then(function (arg) {
throw new Error(arg + ' is an error!');
}).then(null, function (err) {
assert.ok(err instanceof Error);
assert.equal('2 is an error', err.message);
assert.equal('2 is an error!', err.message);
});
p.fullfill(1);
p.fulfill(1);
```

####end
Expand Down

0 comments on commit c90cc6b

Please sign in to comment.