Skip to content

Commit

Permalink
doc: use strictEqual instead of equal
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandeep Singh committed Jul 16, 2017
1 parent d4c6b23 commit 3958388
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,8 @@ commonly indicate inequality of actual and expected parameters.
For example:

```js
assert.equal(1, 2);
// AssertionError [ERR_ASSERTION]: 1 == 2
assert.strictEqual(1, 2);
// AssertionError [ERR_ASSERTION]: 1 === 2
```

## Class: RangeError
Expand Down

0 comments on commit 3958388

Please sign in to comment.