Skip to content

Commit 4bcc288

Browse files
committed
fix a typo
1 parent 2b0fc5e commit 4bcc288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/compat/tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1677,7 +1677,7 @@ GLOBAL.tests = {
16771677
return PROTOTYPE_SETTING_AVAILABLE &&
16781678
(typeof DOMException != 'function' || Error.isError(new DOMException('DOMException'))) &&
16791679
Error.isError(new Error('Error', { cause: function () { /* empty */ } })) &&
1680-
Error.isError(Object.create(Error.prototype));
1680+
!Error.isError(Object.create(Error.prototype));
16811681
},
16821682
'esnext.function.demethodize': function () {
16831683
return Function.prototype.demethodize;

0 commit comments

Comments
 (0)