Skip to content

Commit e0f773f

Browse files
committed
fixup!
1 parent 027ad71 commit e0f773f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/assert/assertion_error.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const {
1010
ObjectDefineProperty,
1111
ObjectGetPrototypeOf,
1212
ObjectPrototypeHasOwnProperty,
13+
SafeSet,
1314
String,
1415
StringPrototypeRepeat,
1516
StringPrototypeSlice,
@@ -42,7 +43,7 @@ const kReadableOperator = {
4243
const kMaxShortStringLength = 12;
4344
const kMaxLongStringLength = 512;
4445

45-
const kMethodsWithCustomMessageDiff = new Set(['deepStrictEqual', 'strictEqual', 'partialDeepStrictEqual']);
46+
const kMethodsWithCustomMessageDiff = new SafeSet(['deepStrictEqual', 'strictEqual', 'partialDeepStrictEqual']);
4647

4748
function copyError(source) {
4849
const target = ObjectAssign(

0 commit comments

Comments
 (0)