diff --git a/doc/api/assert.md b/doc/api/assert.md index 58fd6484ab..d22fb3eac2 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -441,7 +441,7 @@ assert.notDeepEqual(obj1, obj3); // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } } assert.notDeepEqual(obj1, obj4); -// OK, obj1 and obj2 are not deeply equal +// OK, obj1 and obj4 are not deeply equal ``` If the values are deeply equal, an `AssertionError` is thrown with a `message`