Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Feb 16, 2016
1 parent 9d9d0e8 commit d701069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ Will return an empty string if `isEqual` would return `true` - otherwise will re
```
var whyNotEqual = require('is-equal/why');
assert.equal(isEqual(1, 1), '');
assert.equal(whyNotEqual(1, 1), '');
assert.equal(
isEqual({ a: 1 }, { a: 2 }),
whyNotEqual({ a: 1 }, { a: 2 }),
'value at key "a" differs: numbers are different: 1 !== 2'
);
```
Expand Down

0 comments on commit d701069

Please sign in to comment.