-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
Closed
Labels
assertIssues and PRs related to the assert subsystem.Issues and PRs related to the assert subsystem.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Description
Currently assert.deepEquals
is ignorant of any new native data types introduced in ES6.
For example, this should probably throw, yet it does not:
assert.deepEqual(new Set([1, 2]), new Set([1]))
A good method might be to deepEqual
against .keys()
and .values()
.
deepEqual
should also probably work with generic Iterables too.
Metadata
Metadata
Assignees
Labels
assertIssues and PRs related to the assert subsystem.Issues and PRs related to the assert subsystem.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.