summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js')
-rw-r--r--js/src/tests/test262/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js b/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js
index ea51595556..14ab4862c8 100644
--- a/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js
@@ -30,7 +30,7 @@ assert.sameValue(
assert.throws(TypeError, () => {
let fr = new FinalizationRegistry(() => {}); let token = {}; fr.register(token); new fr.unregister(token);
-}, '`let fr = new FinalizationRegistry(() => {}); let token = {}; fr.register(token); new fr.unregister(token)` throws TypeError');
+});
reportCompare(0, 0);