Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Oct 16, 2015
1 parent 4075348 commit cd96fc7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/api/assert.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ comparison operator ( `==` ).

This only considers enumerable properties. It does not test object prototypes,
attached symbols, or non-enumerable properties. This can lead to some
potentially surprising results. For this does not throw an `AssertionError`
because the properties on the `Error` object are non-enumerable:
potentially surprising results. For example, this does not throw an
`AssertionError` because the properties on the `Error` object are
non-enumerable:

// WARNING: This probably does not do what you expect!
assert.deepEqual(Error('a'), Error('b'));
Expand Down

0 comments on commit cd96fc7

Please sign in to comment.