diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/FinalizationRegistry/prototype/register')
-rw-r--r-- | js/src/tests/test262/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js b/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js index f2471782ab..60e16a1df6 100644 --- a/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js +++ b/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js @@ -30,7 +30,7 @@ assert.sameValue( assert.throws(TypeError, () => { let fr = new FinalizationRegistry(() => {}); new fr.register({}); -}, '`let fr = new FinalizationRegistry(() => {}); new fr.register({})` throws TypeError'); +}); reportCompare(0, 0); |