Skip to content

Documentation error. #9597

Description

@AlexWehe
  • Version:
  • Platform:
  • Subsystem:

I think there is an error in the documentation of Node in the part of "Assertion Testing".

assert.notDeepEqual(actual, expected[, message])

Current

assert.notDeepEqual(obj1, obj4);
// OK, obj1 and obj2 are not deeply equal

I think the result must be the next...

assert.notDeepEqual(obj1, obj4);
// OK, obj1 and obj4 are not deeply equal

Thanks!!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    assertIssues and PRs related to the assert subsystem.docIssues and PRs related to Node.js documentation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions