From 3d52d4bc12750ea098c140bcce704071f6b4a7de Mon Sep 17 00:00:00 2001 From: Giovanni Date: Sat, 31 Aug 2024 17:37:51 +0200 Subject: [PATCH] assert: renamed deepEqual/deepStrictEqual to partialDeepEqual/partialDeepStrictEqual --- doc/api/assert.md | 66 +++++++++---------- lib/assert.js | 52 ++++++++++----- test/parallel/test-assert-objects.js | 95 +++++++++++++++++++--------- 3 files changed, 132 insertions(+), 81 deletions(-) diff --git a/doc/api/assert.md b/doc/api/assert.md index c1b2f8d728eea7..5572ce5284c564 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -2548,7 +2548,7 @@ assert.throws(throwingFirst, /Second$/); Due to the confusing error-prone notation, avoid a string as the second argument. -## `assert.deepMatch(actual, expected[, message])` +## `assert.partialDeepEqual(actual, expected[, message])`