Skip to content

Commit dacddc4

Browse files
committed
fixed tests
1 parent c961511 commit dacddc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/assert.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -628,10 +628,10 @@ assert.notStrictEqual = function notStrictEqual(actual, expected, message) {
628628
* @returns {boolean} - Returns `true` if the actual value matches the expected value, otherwise `false`.
629629
* @example
630630
* // Loose comparison (default)
631-
* compareBranch({a: 1, b: 2}, {a: 1, b: '2'}); // true
631+
* compareBranch({a: 1, b: 2, c: 3}, {a: 1, b: '2'}); // true
632632
*
633633
* // Strict comparison
634-
* compareBranch({a: 1, b: 2}, {a: 1, b: 2}, true); // true
634+
* compareBranch({a: 1, b: 2, c: 3}, {a: 1, b: 2}, true); // true
635635
*/
636636
function compareBranch(
637637
actual,

0 commit comments

Comments
 (0)