Skip to content

Commit d06e99f

Browse files
committed
test: remove null hack
1 parent a5d7d64 commit d06e99f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/tools/spec-runner/matcher.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ function generateMatchAndDiffSpecialCase(key, expectedObj, actualObj, metadata)
4545
};
4646
}
4747

48-
const match = !Object.prototype.hasOwnProperty.call(actualObj, key);
48+
const match = expected === actual;
49+
// const match = !Object.prototype.hasOwnProperty.call(actualObj, key);
4950
return {
5051
match,
5152
expected: SYMBOL_DOES_NOT_EXIST,

0 commit comments

Comments
 (0)