Skip to content

assert: fix deepEqual similar sets and maps bug

Rodrigo Muino Tomonari requested to merge github/fork/josephg/deepequal-bug into master

This fixes a bug where deepEqual and deepStrictEqual would have incorrect behaviour in sets and maps containing multiple equivalent keys.

Fixes: https://github.com/nodejs/node/issues/13347 Refs: https://github.com/nodejs/node/pull/12142

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

assert

Merge request reports

Loading