Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
synapse committed Jun 17, 2024
1 parent c961511 commit dacddc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -628,10 +628,10 @@ assert.notStrictEqual = function notStrictEqual(actual, expected, message) {
* @returns {boolean} - Returns `true` if the actual value matches the expected value, otherwise `false`.
* @example
* // Loose comparison (default)
* compareBranch({a: 1, b: 2}, {a: 1, b: '2'}); // true
* compareBranch({a: 1, b: 2, c: 3}, {a: 1, b: '2'}); // true
*
* // Strict comparison
* compareBranch({a: 1, b: 2}, {a: 1, b: 2}, true); // true
* compareBranch({a: 1, b: 2, c: 3}, {a: 1, b: 2}, true); // true
*/
function compareBranch(
actual,
Expand Down

0 comments on commit dacddc4

Please sign in to comment.