summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/annexB/built-ins/String/prototype/sub/not-a-constructor.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/annexB/built-ins/String/prototype/sub/not-a-constructor.js')
-rw-r--r--js/src/tests/test262/annexB/built-ins/String/prototype/sub/not-a-constructor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tests/test262/annexB/built-ins/String/prototype/sub/not-a-constructor.js b/js/src/tests/test262/annexB/built-ins/String/prototype/sub/not-a-constructor.js
index 3c8b054e9a..23a9dd69d9 100644
--- a/js/src/tests/test262/annexB/built-ins/String/prototype/sub/not-a-constructor.js
+++ b/js/src/tests/test262/annexB/built-ins/String/prototype/sub/not-a-constructor.js
@@ -24,7 +24,7 @@ assert.sameValue(isConstructor(String.prototype.sub), false, 'isConstructor(Stri
assert.throws(TypeError, () => {
new String.prototype.sub();
-}, '`new String.prototype.sub()` throws TypeError');
+});
reportCompare(0, 0);