summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/String/fromCharCode/not-a-constructor.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/String/fromCharCode/not-a-constructor.js')
-rw-r--r--js/src/tests/test262/built-ins/String/fromCharCode/not-a-constructor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tests/test262/built-ins/String/fromCharCode/not-a-constructor.js b/js/src/tests/test262/built-ins/String/fromCharCode/not-a-constructor.js
index 2076c9b6ab..f7db50fa33 100644
--- a/js/src/tests/test262/built-ins/String/fromCharCode/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/String/fromCharCode/not-a-constructor.js
@@ -25,7 +25,7 @@ assert.sameValue(isConstructor(String.fromCharCode), false, 'isConstructor(Strin
assert.throws(TypeError, () => {
new String.fromCharCode();
-}, '`new String.fromCharCode()` throws TypeError');
+});
reportCompare(0, 0);