diff --git a/test/annexB/built-ins/Date/prototype/getYear/not-a-constructor.js b/test/annexB/built-ins/Date/prototype/getYear/not-a-constructor.js index ad186adb8ac..18d998ddfaa 100644 --- a/test/annexB/built-ins/Date/prototype/getYear/not-a-constructor.js +++ b/test/annexB/built-ins/Date/prototype/getYear/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getYear(); -}, '`let date = new Date(Date.now()); new date.getYear()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/Date/prototype/setYear/not-a-constructor.js b/test/annexB/built-ins/Date/prototype/setYear/not-a-constructor.js index c851e7d3c73..8d50ab71ed4 100644 --- a/test/annexB/built-ins/Date/prototype/setYear/not-a-constructor.js +++ b/test/annexB/built-ins/Date/prototype/setYear/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setYear(); -}, '`let date = new Date(Date.now()); new date.setYear()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/Date/prototype/toGMTString/not-a-constructor.js b/test/annexB/built-ins/Date/prototype/toGMTString/not-a-constructor.js index 47a08c8e916..d895a19d8f6 100644 --- a/test/annexB/built-ins/Date/prototype/toGMTString/not-a-constructor.js +++ b/test/annexB/built-ins/Date/prototype/toGMTString/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.toGMTString(); -}, '`let date = new Date(Date.now()); new date.toGMTString()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/RegExp/prototype/compile/this-cross-realm-instance.js b/test/annexB/built-ins/RegExp/prototype/compile/this-cross-realm-instance.js index c8a1f789ed0..f87d1801f3b 100644 --- a/test/annexB/built-ins/RegExp/prototype/compile/this-cross-realm-instance.js +++ b/test/annexB/built-ins/RegExp/prototype/compile/this-cross-realm-instance.js @@ -15,9 +15,7 @@ assert.throws( TypeError, function () { RegExp.prototype.compile.call(otherRealm_regexp); - }, - "`RegExp.prototype.compile.call(otherRealm_regexp)` throws TypeError" -); + }); assert.throws( other.TypeError, diff --git a/test/annexB/built-ins/RegExp/prototype/compile/this-subclass-instance.js b/test/annexB/built-ins/RegExp/prototype/compile/this-subclass-instance.js index ea44faa4b10..fc9543c0aa7 100644 --- a/test/annexB/built-ins/RegExp/prototype/compile/this-subclass-instance.js +++ b/test/annexB/built-ins/RegExp/prototype/compile/this-subclass-instance.js @@ -12,14 +12,10 @@ assert.throws( TypeError, function () { subclass_regexp.compile(); - }, - "`subclass_regexp.compile()` throws TypeError" -); + }); assert.throws( TypeError, function () { RegExp.prototype.compile.call(subclass_regexp); - }, - "`RegExp.prototype.compile.call(subclass_regexp)` throws TypeError" -); + }); diff --git a/test/annexB/built-ins/String/prototype/anchor/not-a-constructor.js b/test/annexB/built-ins/String/prototype/anchor/not-a-constructor.js index cdc1dd9ecfc..5e785c27618 100644 --- a/test/annexB/built-ins/String/prototype/anchor/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/anchor/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.anchor(); -}, '`new String.prototype.anchor()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/String/prototype/big/not-a-constructor.js b/test/annexB/built-ins/String/prototype/big/not-a-constructor.js index 9cfd4f22dd8..b86bae1176f 100644 --- a/test/annexB/built-ins/String/prototype/big/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/big/not-a-constructor.js @@ -24,5 +24,5 @@ assert.sameValue(isConstructor(String.prototype.big), false, 'isConstructor(Stri assert.throws(TypeError, () => { new String.prototype.big(); -}, '`new String.prototype.big()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/String/prototype/blink/not-a-constructor.js b/test/annexB/built-ins/String/prototype/blink/not-a-constructor.js index 63ab9eb57bd..57a256d9ba5 100644 --- a/test/annexB/built-ins/String/prototype/blink/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/blink/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.blink(); -}, '`new String.prototype.blink()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/String/prototype/bold/not-a-constructor.js b/test/annexB/built-ins/String/prototype/bold/not-a-constructor.js index 416ea28d9d7..9b4787ee623 100644 --- a/test/annexB/built-ins/String/prototype/bold/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/bold/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.bold(); -}, '`new String.prototype.bold()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/String/prototype/fixed/not-a-constructor.js b/test/annexB/built-ins/String/prototype/fixed/not-a-constructor.js index 8d08d28a1da..763d09ee2c4 100644 --- a/test/annexB/built-ins/String/prototype/fixed/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/fixed/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.fixed(); -}, '`new String.prototype.fixed()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/String/prototype/fontcolor/not-a-constructor.js b/test/annexB/built-ins/String/prototype/fontcolor/not-a-constructor.js index 2805576cf53..b96b61287f4 100644 --- a/test/annexB/built-ins/String/prototype/fontcolor/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/fontcolor/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.fontcolor(); -}, '`new String.prototype.fontcolor()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/String/prototype/fontsize/not-a-constructor.js b/test/annexB/built-ins/String/prototype/fontsize/not-a-constructor.js index 08a7cc679d0..618ce3b65c9 100644 --- a/test/annexB/built-ins/String/prototype/fontsize/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/fontsize/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.fontsize(); -}, '`new String.prototype.fontsize()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/String/prototype/italics/not-a-constructor.js b/test/annexB/built-ins/String/prototype/italics/not-a-constructor.js index 226dfa44f7f..928dc0259e8 100644 --- a/test/annexB/built-ins/String/prototype/italics/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/italics/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.italics(); -}, '`new String.prototype.italics()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/String/prototype/link/not-a-constructor.js b/test/annexB/built-ins/String/prototype/link/not-a-constructor.js index 652420dd97c..002f607e267 100644 --- a/test/annexB/built-ins/String/prototype/link/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/link/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.link(); -}, '`new String.prototype.link()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/String/prototype/small/not-a-constructor.js b/test/annexB/built-ins/String/prototype/small/not-a-constructor.js index ef6ed245a5a..a69d2d5140c 100644 --- a/test/annexB/built-ins/String/prototype/small/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/small/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.small(); -}, '`new String.prototype.small()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/String/prototype/strike/not-a-constructor.js b/test/annexB/built-ins/String/prototype/strike/not-a-constructor.js index 703f7a6370e..2a24ad86547 100644 --- a/test/annexB/built-ins/String/prototype/strike/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/strike/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.strike(); -}, '`new String.prototype.strike()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/String/prototype/sub/not-a-constructor.js b/test/annexB/built-ins/String/prototype/sub/not-a-constructor.js index 9e61e069964..92cd7a05bf0 100644 --- a/test/annexB/built-ins/String/prototype/sub/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/sub/not-a-constructor.js @@ -24,5 +24,5 @@ assert.sameValue(isConstructor(String.prototype.sub), false, 'isConstructor(Stri assert.throws(TypeError, () => { new String.prototype.sub(); -}, '`new String.prototype.sub()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/String/prototype/substr/not-a-constructor.js b/test/annexB/built-ins/String/prototype/substr/not-a-constructor.js index 55ecf404656..f29112c117a 100644 --- a/test/annexB/built-ins/String/prototype/substr/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/substr/not-a-constructor.js @@ -28,5 +28,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.substr(); -}, '`new String.prototype.substr()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/String/prototype/sup/not-a-constructor.js b/test/annexB/built-ins/String/prototype/sup/not-a-constructor.js index 5a2faa965d9..df876a4b434 100644 --- a/test/annexB/built-ins/String/prototype/sup/not-a-constructor.js +++ b/test/annexB/built-ins/String/prototype/sup/not-a-constructor.js @@ -24,5 +24,5 @@ assert.sameValue(isConstructor(String.prototype.sup), false, 'isConstructor(Stri assert.throws(TypeError, () => { new String.prototype.sup(); -}, '`new String.prototype.sup()` throws TypeError'); +}); diff --git a/test/annexB/built-ins/escape/not-a-constructor.js b/test/annexB/built-ins/escape/not-a-constructor.js index 3389cc0191f..a787c9c20ae 100644 --- a/test/annexB/built-ins/escape/not-a-constructor.js +++ b/test/annexB/built-ins/escape/not-a-constructor.js @@ -24,5 +24,5 @@ assert.sameValue(isConstructor(escape), false, 'isConstructor(escape) must retur assert.throws(TypeError, () => { new escape(''); -}, '`new escape(\'\')` throws TypeError'); +}); diff --git a/test/annexB/built-ins/unescape/not-a-constructor.js b/test/annexB/built-ins/unescape/not-a-constructor.js index fb9070aaaa7..e5117bc3837 100644 --- a/test/annexB/built-ins/unescape/not-a-constructor.js +++ b/test/annexB/built-ins/unescape/not-a-constructor.js @@ -24,5 +24,5 @@ assert.sameValue(isConstructor(unescape), false, 'isConstructor(unescape) must r assert.throws(TypeError, () => { new unescape(''); -}, '`new unescape(\'\')` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/Symbol.iterator/not-a-constructor.js b/test/built-ins/Array/prototype/Symbol.iterator/not-a-constructor.js index 50cce608213..6a2ea379380 100644 --- a/test/built-ins/Array/prototype/Symbol.iterator/not-a-constructor.js +++ b/test/built-ins/Array/prototype/Symbol.iterator/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype[Symbol.iterator](); -}, '`new Array.prototype[Symbol.iterator]()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/copyWithin/not-a-constructor.js b/test/built-ins/Array/prototype/copyWithin/not-a-constructor.js index d781d70db70..f15909ae88c 100644 --- a/test/built-ins/Array/prototype/copyWithin/not-a-constructor.js +++ b/test/built-ins/Array/prototype/copyWithin/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.copyWithin(); -}, '`new Array.prototype.copyWithin()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/entries/not-a-constructor.js b/test/built-ins/Array/prototype/entries/not-a-constructor.js index abdc387e345..28baea195e9 100644 --- a/test/built-ins/Array/prototype/entries/not-a-constructor.js +++ b/test/built-ins/Array/prototype/entries/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.entries(); -}, '`new Array.prototype.entries()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/every/not-a-constructor.js b/test/built-ins/Array/prototype/every/not-a-constructor.js index 87d6ee5d07f..32f4141c27b 100644 --- a/test/built-ins/Array/prototype/every/not-a-constructor.js +++ b/test/built-ins/Array/prototype/every/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.every(() => {}); -}, '`new Array.prototype.every(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/fill/not-a-constructor.js b/test/built-ins/Array/prototype/fill/not-a-constructor.js index 83b5c2ed7e8..603e5082dc8 100644 --- a/test/built-ins/Array/prototype/fill/not-a-constructor.js +++ b/test/built-ins/Array/prototype/fill/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Array.prototype.fill), false, 'isConstructor(Arra assert.throws(TypeError, () => { new Array.prototype.fill(); -}, '`new Array.prototype.fill()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/filter/not-a-constructor.js b/test/built-ins/Array/prototype/filter/not-a-constructor.js index 55e3b3b1aec..ebbddeacf38 100644 --- a/test/built-ins/Array/prototype/filter/not-a-constructor.js +++ b/test/built-ins/Array/prototype/filter/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.filter(() => {}); -}, '`new Array.prototype.filter(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/find/not-a-constructor.js b/test/built-ins/Array/prototype/find/not-a-constructor.js index 13f3020a0a2..05fea5479b4 100644 --- a/test/built-ins/Array/prototype/find/not-a-constructor.js +++ b/test/built-ins/Array/prototype/find/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Array.prototype.find), false, 'isConstructor(Arra assert.throws(TypeError, () => { new Array.prototype.find(() => {}); -}, '`new Array.prototype.find(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/findIndex/not-a-constructor.js b/test/built-ins/Array/prototype/findIndex/not-a-constructor.js index a8b945dbeef..f5ebe2bc454 100644 --- a/test/built-ins/Array/prototype/findIndex/not-a-constructor.js +++ b/test/built-ins/Array/prototype/findIndex/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.findIndex(() => {}); -}, '`new Array.prototype.findIndex(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/findLast/not-a-constructor.js b/test/built-ins/Array/prototype/findLast/not-a-constructor.js index ce8938f9526..90ccc48372c 100644 --- a/test/built-ins/Array/prototype/findLast/not-a-constructor.js +++ b/test/built-ins/Array/prototype/findLast/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Array.prototype.findLast), false, 'isConstructor( assert.throws(TypeError, () => { new Array.prototype.findLast(() => {}); -}, '`new Array.prototype.findLast(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/findLastIndex/not-a-constructor.js b/test/built-ins/Array/prototype/findLastIndex/not-a-constructor.js index 8420624fdd4..2c990388bc4 100644 --- a/test/built-ins/Array/prototype/findLastIndex/not-a-constructor.js +++ b/test/built-ins/Array/prototype/findLastIndex/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.findLastIndex(() => {}); -}, '`new Array.prototype.findLastIndex(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/flat/not-a-constructor.js b/test/built-ins/Array/prototype/flat/not-a-constructor.js index 4ac281a444e..7772e16a1fb 100644 --- a/test/built-ins/Array/prototype/flat/not-a-constructor.js +++ b/test/built-ins/Array/prototype/flat/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Array.prototype.flat), false, 'isConstructor(Arra assert.throws(TypeError, () => { new Array.prototype.flat(); -}, '`new Array.prototype.flat()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/flatMap/not-a-constructor.js b/test/built-ins/Array/prototype/flatMap/not-a-constructor.js index 9ad50a0e2a2..1b8e8860315 100644 --- a/test/built-ins/Array/prototype/flatMap/not-a-constructor.js +++ b/test/built-ins/Array/prototype/flatMap/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.flatMap(() => {}); -}, '`new Array.prototype.flatMap(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/forEach/not-a-constructor.js b/test/built-ins/Array/prototype/forEach/not-a-constructor.js index 9721d78bb7d..48ae8b16ad4 100644 --- a/test/built-ins/Array/prototype/forEach/not-a-constructor.js +++ b/test/built-ins/Array/prototype/forEach/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.forEach(() => {}); -}, '`new Array.prototype.forEach(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/includes/not-a-constructor.js b/test/built-ins/Array/prototype/includes/not-a-constructor.js index 81aca092d0b..bd1bef81435 100644 --- a/test/built-ins/Array/prototype/includes/not-a-constructor.js +++ b/test/built-ins/Array/prototype/includes/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.includes(1); -}, '`new Array.prototype.includes(1)` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/indexOf/not-a-constructor.js b/test/built-ins/Array/prototype/indexOf/not-a-constructor.js index ce1a8d019d6..22b69a8a7eb 100644 --- a/test/built-ins/Array/prototype/indexOf/not-a-constructor.js +++ b/test/built-ins/Array/prototype/indexOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.indexOf(); -}, '`new Array.prototype.indexOf()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/join/not-a-constructor.js b/test/built-ins/Array/prototype/join/not-a-constructor.js index 33b3a4d5c25..2e35936bb0a 100644 --- a/test/built-ins/Array/prototype/join/not-a-constructor.js +++ b/test/built-ins/Array/prototype/join/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Array.prototype.join), false, 'isConstructor(Arra assert.throws(TypeError, () => { new Array.prototype.join(); -}, '`new Array.prototype.join()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/keys/not-a-constructor.js b/test/built-ins/Array/prototype/keys/not-a-constructor.js index 6b8544765fc..1eed3f7d602 100644 --- a/test/built-ins/Array/prototype/keys/not-a-constructor.js +++ b/test/built-ins/Array/prototype/keys/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Array.prototype.keys), false, 'isConstructor(Arra assert.throws(TypeError, () => { new Array.prototype.keys(); -}, '`new Array.prototype.keys()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/lastIndexOf/not-a-constructor.js b/test/built-ins/Array/prototype/lastIndexOf/not-a-constructor.js index dc755f9eb07..083dcbfa915 100644 --- a/test/built-ins/Array/prototype/lastIndexOf/not-a-constructor.js +++ b/test/built-ins/Array/prototype/lastIndexOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.lastIndexOf(); -}, '`new Array.prototype.lastIndexOf()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/map/not-a-constructor.js b/test/built-ins/Array/prototype/map/not-a-constructor.js index d521b097091..a858c3f1f91 100644 --- a/test/built-ins/Array/prototype/map/not-a-constructor.js +++ b/test/built-ins/Array/prototype/map/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Array.prototype.map), false, 'isConstructor(Array assert.throws(TypeError, () => { new Array.prototype.map(() => {}); -}, '`new Array.prototype.map(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/pop/not-a-constructor.js b/test/built-ins/Array/prototype/pop/not-a-constructor.js index dcaccf6280b..751b7335d48 100644 --- a/test/built-ins/Array/prototype/pop/not-a-constructor.js +++ b/test/built-ins/Array/prototype/pop/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Array.prototype.pop), false, 'isConstructor(Array assert.throws(TypeError, () => { new Array.prototype.pop(); -}, '`new Array.prototype.pop()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/push/not-a-constructor.js b/test/built-ins/Array/prototype/push/not-a-constructor.js index e79b2436729..29cfac23c97 100644 --- a/test/built-ins/Array/prototype/push/not-a-constructor.js +++ b/test/built-ins/Array/prototype/push/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Array.prototype.push), false, 'isConstructor(Arra assert.throws(TypeError, () => { new Array.prototype.push(); -}, '`new Array.prototype.push()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/reduce/not-a-constructor.js b/test/built-ins/Array/prototype/reduce/not-a-constructor.js index 1f425cf1f27..9a674771424 100644 --- a/test/built-ins/Array/prototype/reduce/not-a-constructor.js +++ b/test/built-ins/Array/prototype/reduce/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.reduce(() => {}, []); -}, '`new Array.prototype.reduce(() => {}, [])` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/reduceRight/not-a-constructor.js b/test/built-ins/Array/prototype/reduceRight/not-a-constructor.js index 2d08d721a38..cd28d43aefc 100644 --- a/test/built-ins/Array/prototype/reduceRight/not-a-constructor.js +++ b/test/built-ins/Array/prototype/reduceRight/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.reduceRight(() => {}, []); -}, '`new Array.prototype.reduceRight(() => {}, [])` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/reverse/not-a-constructor.js b/test/built-ins/Array/prototype/reverse/not-a-constructor.js index 7d48bc1588d..3178d935885 100644 --- a/test/built-ins/Array/prototype/reverse/not-a-constructor.js +++ b/test/built-ins/Array/prototype/reverse/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.reverse(); -}, '`new Array.prototype.reverse()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/shift/not-a-constructor.js b/test/built-ins/Array/prototype/shift/not-a-constructor.js index 5157f52dcf6..248d19751f0 100644 --- a/test/built-ins/Array/prototype/shift/not-a-constructor.js +++ b/test/built-ins/Array/prototype/shift/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.shift(); -}, '`new Array.prototype.shift()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/slice/not-a-constructor.js b/test/built-ins/Array/prototype/slice/not-a-constructor.js index dbd79446dff..193e9481bef 100644 --- a/test/built-ins/Array/prototype/slice/not-a-constructor.js +++ b/test/built-ins/Array/prototype/slice/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.slice(); -}, '`new Array.prototype.slice()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/some/not-a-constructor.js b/test/built-ins/Array/prototype/some/not-a-constructor.js index a06b0236243..ca58ca6f8f8 100644 --- a/test/built-ins/Array/prototype/some/not-a-constructor.js +++ b/test/built-ins/Array/prototype/some/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Array.prototype.some), false, 'isConstructor(Arra assert.throws(TypeError, () => { new Array.prototype.some(() => {}); -}, '`new Array.prototype.some(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/sort/not-a-constructor.js b/test/built-ins/Array/prototype/sort/not-a-constructor.js index 6d2ae6d896d..1b33631ca9f 100644 --- a/test/built-ins/Array/prototype/sort/not-a-constructor.js +++ b/test/built-ins/Array/prototype/sort/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Array.prototype.sort), false, 'isConstructor(Arra assert.throws(TypeError, () => { new Array.prototype.sort(); -}, '`new Array.prototype.sort()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/splice/not-a-constructor.js b/test/built-ins/Array/prototype/splice/not-a-constructor.js index 4a4ddad1542..3ba0f21523c 100644 --- a/test/built-ins/Array/prototype/splice/not-a-constructor.js +++ b/test/built-ins/Array/prototype/splice/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.splice(); -}, '`new Array.prototype.splice()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/toLocaleString/not-a-constructor.js b/test/built-ins/Array/prototype/toLocaleString/not-a-constructor.js index 740ad5cfd59..002d1c4f207 100644 --- a/test/built-ins/Array/prototype/toLocaleString/not-a-constructor.js +++ b/test/built-ins/Array/prototype/toLocaleString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.toLocaleString(); -}, '`new Array.prototype.toLocaleString()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/toReversed/not-a-constructor.js b/test/built-ins/Array/prototype/toReversed/not-a-constructor.js index 6cfabfe6ff0..c4a4d549bac 100644 --- a/test/built-ins/Array/prototype/toReversed/not-a-constructor.js +++ b/test/built-ins/Array/prototype/toReversed/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.toReversed(); -}, '`new Array.prototype.toReversed()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/toReversed/this-value-nullish.js b/test/built-ins/Array/prototype/toReversed/this-value-nullish.js index b81e99f5921..d83e918d6a2 100644 --- a/test/built-ins/Array/prototype/toReversed/this-value-nullish.js +++ b/test/built-ins/Array/prototype/toReversed/this-value-nullish.js @@ -15,8 +15,8 @@ features: [change-array-by-copy] assert.throws(TypeError, () => { Array.prototype.toReversed.call(null); -}, '`Array.prototype.toReversed.call(null)` throws TypeError'); +}); assert.throws(TypeError, () => { Array.prototype.toReversed.call(undefined); -}, '`Array.prototype.toReversed.call(undefined)` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/toSorted/not-a-constructor.js b/test/built-ins/Array/prototype/toSorted/not-a-constructor.js index 8865d181663..9d5ae4f15f1 100644 --- a/test/built-ins/Array/prototype/toSorted/not-a-constructor.js +++ b/test/built-ins/Array/prototype/toSorted/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.toSorted(); -}, '`new Array.prototype.toSorted()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/toSorted/this-value-nullish.js b/test/built-ins/Array/prototype/toSorted/this-value-nullish.js index 6be9d4cb4f2..58eedbb58a6 100644 --- a/test/built-ins/Array/prototype/toSorted/this-value-nullish.js +++ b/test/built-ins/Array/prototype/toSorted/this-value-nullish.js @@ -15,8 +15,8 @@ features: [change-array-by-copy] assert.throws(TypeError, () => { Array.prototype.toSorted.call(null); -}, '`Array.prototype.toSorted.call(null)` throws TypeError'); +}); assert.throws(TypeError, () => { Array.prototype.toSorted.call(undefined); -}, '`Array.prototype.toSorted.call(undefined)` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/toSpliced/not-a-constructor.js b/test/built-ins/Array/prototype/toSpliced/not-a-constructor.js index b702fa27e39..5a439a5315b 100644 --- a/test/built-ins/Array/prototype/toSpliced/not-a-constructor.js +++ b/test/built-ins/Array/prototype/toSpliced/not-a-constructor.js @@ -29,4 +29,4 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.toSpliced(); -}, '`new Array.prototype.toSpliced()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/toString/not-a-constructor.js b/test/built-ins/Array/prototype/toString/not-a-constructor.js index bf6ba19ca93..dfbe97e457b 100644 --- a/test/built-ins/Array/prototype/toString/not-a-constructor.js +++ b/test/built-ins/Array/prototype/toString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.toString(); -}, '`new Array.prototype.toString()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/unshift/not-a-constructor.js b/test/built-ins/Array/prototype/unshift/not-a-constructor.js index a8b21f81043..3b24c018eb7 100644 --- a/test/built-ins/Array/prototype/unshift/not-a-constructor.js +++ b/test/built-ins/Array/prototype/unshift/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.unshift(); -}, '`new Array.prototype.unshift()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/values/not-a-constructor.js b/test/built-ins/Array/prototype/values/not-a-constructor.js index 35bf45aa8c3..8cb20e1b868 100644 --- a/test/built-ins/Array/prototype/values/not-a-constructor.js +++ b/test/built-ins/Array/prototype/values/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.values(); -}, '`new Array.prototype.values()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/with/not-a-constructor.js b/test/built-ins/Array/prototype/with/not-a-constructor.js index 5c8d8ab652e..275c35122ab 100644 --- a/test/built-ins/Array/prototype/with/not-a-constructor.js +++ b/test/built-ins/Array/prototype/with/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Array.prototype.with(); -}, '`new Array.prototype.with()` throws TypeError'); +}); diff --git a/test/built-ins/Array/prototype/with/this-value-nullish.js b/test/built-ins/Array/prototype/with/this-value-nullish.js index d71deb31e62..dbdb09df294 100644 --- a/test/built-ins/Array/prototype/with/this-value-nullish.js +++ b/test/built-ins/Array/prototype/with/this-value-nullish.js @@ -15,8 +15,8 @@ features: [change-array-by-copy] assert.throws(TypeError, () => { Array.prototype.with.call(null, 0, 0); -}, '`Array.prototype.with.call(null, 0, 0)` throws TypeError'); +}); assert.throws(TypeError, () => { Array.prototype.with.call(undefined, 0, 0); -}, '`Array.prototype.with.call(undefined, 0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/ArrayBuffer/isView/not-a-constructor.js b/test/built-ins/ArrayBuffer/isView/not-a-constructor.js index 9d65b9f0d99..1c2405287e1 100644 --- a/test/built-ins/ArrayBuffer/isView/not-a-constructor.js +++ b/test/built-ins/ArrayBuffer/isView/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(ArrayBuffer.isView), false, 'isConstructor(ArrayB assert.throws(TypeError, () => { new ArrayBuffer.isView(); -}, '`new ArrayBuffer.isView()` throws TypeError'); +}); diff --git a/test/built-ins/ArrayBuffer/prototype/slice/not-a-constructor.js b/test/built-ins/ArrayBuffer/prototype/slice/not-a-constructor.js index 9ea8c41161b..a3eb5d34ef5 100644 --- a/test/built-ins/ArrayBuffer/prototype/slice/not-a-constructor.js +++ b/test/built-ins/ArrayBuffer/prototype/slice/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let ab = new ArrayBuffer(); new ab.slice(); -}, '`let ab = new ArrayBuffer(); new ab.slice()` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/add/bad-range.js b/test/built-ins/Atomics/add/bad-range.js index d5ad1d732c3..e01d96c7914 100644 --- a/test/built-ins/Atomics/add/bad-range.js +++ b/test/built-ins/Atomics/add/bad-range.js @@ -17,6 +17,6 @@ testWithTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.add(view, IdxGen(view), 10); - }, '`Atomics.add(view, IdxGen(view), 10)` throws RangeError'); + }); }); }, views); diff --git a/test/built-ins/Atomics/add/bigint/bad-range.js b/test/built-ins/Atomics/add/bigint/bad-range.js index 979c3f3ef33..172fb9f50a6 100644 --- a/test/built-ins/Atomics/add/bigint/bad-range.js +++ b/test/built-ins/Atomics/add/bigint/bad-range.js @@ -15,6 +15,6 @@ testWithBigIntTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.add(view, IdxGen(view), 10n); - }, '`Atomics.add(view, IdxGen(view), 10n)` throws RangeError'); + }); }); }); diff --git a/test/built-ins/Atomics/add/non-views.js b/test/built-ins/Atomics/add/non-views.js index cf00d62db73..6921494c2b8 100644 --- a/test/built-ins/Atomics/add/non-views.js +++ b/test/built-ins/Atomics/add/non-views.js @@ -12,5 +12,5 @@ features: [ArrayBuffer, Atomics, DataView, SharedArrayBuffer, Symbol, TypedArray testWithAtomicsNonViewValues(function(view) { assert.throws(TypeError, function() { Atomics.add(view, 0, 0); - }, '`Atomics.add(view, 0, 0)` throws TypeError'); + }); }); diff --git a/test/built-ins/Atomics/add/not-a-constructor.js b/test/built-ins/Atomics/add/not-a-constructor.js index 7e298c3dac5..9acacd772d1 100644 --- a/test/built-ins/Atomics/add/not-a-constructor.js +++ b/test/built-ins/Atomics/add/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Atomics.add), false, 'isConstructor(Atomics.add) assert.throws(TypeError, () => { new Atomics.add(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT))); -}, '`new Atomics.add(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT)))` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/and/bad-range.js b/test/built-ins/Atomics/and/bad-range.js index bf41aa26d88..811e3941727 100644 --- a/test/built-ins/Atomics/and/bad-range.js +++ b/test/built-ins/Atomics/and/bad-range.js @@ -17,6 +17,6 @@ testWithTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.and(view, IdxGen(view), 10); - }, '`Atomics.and(view, IdxGen(view), 10)` throws RangeError'); + }); }); }, views); diff --git a/test/built-ins/Atomics/and/bigint/bad-range.js b/test/built-ins/Atomics/and/bigint/bad-range.js index fc1f190fbf3..e1876ee7b9a 100644 --- a/test/built-ins/Atomics/and/bigint/bad-range.js +++ b/test/built-ins/Atomics/and/bigint/bad-range.js @@ -15,6 +15,6 @@ testWithBigIntTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.and(view, IdxGen(view), 10n); - }, '`Atomics.and(view, IdxGen(view), 10n)` throws RangeError'); + }); }); }); diff --git a/test/built-ins/Atomics/and/non-views.js b/test/built-ins/Atomics/and/non-views.js index 5915720cdce..237d44695bc 100644 --- a/test/built-ins/Atomics/and/non-views.js +++ b/test/built-ins/Atomics/and/non-views.js @@ -12,5 +12,5 @@ features: [ArrayBuffer, Atomics, DataView, SharedArrayBuffer, Symbol, TypedArray testWithAtomicsNonViewValues(function(view) { assert.throws(TypeError, function() { Atomics.and(view, 0, 0); - }, '`Atomics.and(view, 0, 0)` throws TypeError'); + }); }); diff --git a/test/built-ins/Atomics/and/not-a-constructor.js b/test/built-ins/Atomics/and/not-a-constructor.js index 2d4a87482b9..cee2c1427bb 100644 --- a/test/built-ins/Atomics/and/not-a-constructor.js +++ b/test/built-ins/Atomics/and/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Atomics.and), false, 'isConstructor(Atomics.and) assert.throws(TypeError, () => { new Atomics.and(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT))); -}, '`new Atomics.and(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT)))` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/compareExchange/bad-range.js b/test/built-ins/Atomics/compareExchange/bad-range.js index 04fc7bda26a..7fbd13a384e 100644 --- a/test/built-ins/Atomics/compareExchange/bad-range.js +++ b/test/built-ins/Atomics/compareExchange/bad-range.js @@ -17,6 +17,6 @@ testWithTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.compareExchange(view, IdxGen(view), 10, 0); - }, '`Atomics.compareExchange(view, IdxGen(view), 10, 0)` throws RangeError'); + }); }); }, views); diff --git a/test/built-ins/Atomics/compareExchange/bigint/bad-range.js b/test/built-ins/Atomics/compareExchange/bigint/bad-range.js index 444c7e62b13..1f7ec929ff9 100644 --- a/test/built-ins/Atomics/compareExchange/bigint/bad-range.js +++ b/test/built-ins/Atomics/compareExchange/bigint/bad-range.js @@ -15,6 +15,6 @@ testWithBigIntTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.compareExchange(view, IdxGen(view), 10, 0n); - }, '`Atomics.compareExchange(view, IdxGen(view), 10, 0n)` throws RangeError'); + }); }); }); diff --git a/test/built-ins/Atomics/compareExchange/non-views.js b/test/built-ins/Atomics/compareExchange/non-views.js index b4a09d43aa8..a11e5e83d71 100644 --- a/test/built-ins/Atomics/compareExchange/non-views.js +++ b/test/built-ins/Atomics/compareExchange/non-views.js @@ -12,5 +12,5 @@ features: [ArrayBuffer, Atomics, DataView, SharedArrayBuffer, Symbol, TypedArray testWithAtomicsNonViewValues(function(view) { assert.throws(TypeError, function() { Atomics.compareExchange(view, 0, 0, 0); - }, '`Atomics.compareExchange(view, 0, 0, 0)` throws TypeError'); + }); }); diff --git a/test/built-ins/Atomics/compareExchange/not-a-constructor.js b/test/built-ins/Atomics/compareExchange/not-a-constructor.js index ca44ab3936f..b2d33556e5d 100644 --- a/test/built-ins/Atomics/compareExchange/not-a-constructor.js +++ b/test/built-ins/Atomics/compareExchange/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Atomics.compareExchange(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT))); -}, '`new Atomics.compareExchange(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT)))` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/exchange/bad-range.js b/test/built-ins/Atomics/exchange/bad-range.js index 0c5294e99a5..a7f47b0bf25 100644 --- a/test/built-ins/Atomics/exchange/bad-range.js +++ b/test/built-ins/Atomics/exchange/bad-range.js @@ -17,6 +17,6 @@ testWithTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.exchange(view, IdxGen(view), 10, 0); - }, '`Atomics.exchange(view, IdxGen(view), 10, 0)` throws RangeError'); + }); }); }, views); diff --git a/test/built-ins/Atomics/exchange/bigint/bad-range.js b/test/built-ins/Atomics/exchange/bigint/bad-range.js index 9fccbadf8be..8fbf0985493 100644 --- a/test/built-ins/Atomics/exchange/bigint/bad-range.js +++ b/test/built-ins/Atomics/exchange/bigint/bad-range.js @@ -15,6 +15,6 @@ testWithBigIntTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.exchange(view, IdxGen(view), 10n, 0n); - }, '`Atomics.exchange(view, IdxGen(view), 10n, 0n)` throws RangeError'); + }); }); }); diff --git a/test/built-ins/Atomics/exchange/non-views.js b/test/built-ins/Atomics/exchange/non-views.js index 4c8cdc7275f..b1bbdbdb9be 100644 --- a/test/built-ins/Atomics/exchange/non-views.js +++ b/test/built-ins/Atomics/exchange/non-views.js @@ -12,5 +12,5 @@ features: [ArrayBuffer, Atomics, DataView, SharedArrayBuffer, Symbol, TypedArray testWithAtomicsNonViewValues(function(view) { assert.throws(TypeError, function() { Atomics.exchange(view, 0, 0); - }, '`Atomics.exchange(view, 0, 0)` throws TypeError'); + }); }); diff --git a/test/built-ins/Atomics/exchange/not-a-constructor.js b/test/built-ins/Atomics/exchange/not-a-constructor.js index bc8e7ec0269..bce1b8a066e 100644 --- a/test/built-ins/Atomics/exchange/not-a-constructor.js +++ b/test/built-ins/Atomics/exchange/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Atomics.exchange), false, 'isConstructor(Atomics. assert.throws(TypeError, () => { new Atomics.exchange(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT))); -}, '`new Atomics.exchange(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT)))` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/isLockFree/not-a-constructor.js b/test/built-ins/Atomics/isLockFree/not-a-constructor.js index 41c832baf83..0fa83756c6c 100644 --- a/test/built-ins/Atomics/isLockFree/not-a-constructor.js +++ b/test/built-ins/Atomics/isLockFree/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Atomics.isLockFree), false, 'isConstructor(Atomic assert.throws(TypeError, () => { new Atomics.isLockFree(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT))); -}, '`new Atomics.isLockFree(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT)))` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/load/bad-range.js b/test/built-ins/Atomics/load/bad-range.js index 77e47f95ca8..3a3fecbf7a4 100644 --- a/test/built-ins/Atomics/load/bad-range.js +++ b/test/built-ins/Atomics/load/bad-range.js @@ -17,6 +17,6 @@ testWithTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.load(view, IdxGen(view)); - }, '`Atomics.load(view, IdxGen(view))` throws RangeError'); + }); }); }, views); diff --git a/test/built-ins/Atomics/load/bigint/bad-range.js b/test/built-ins/Atomics/load/bigint/bad-range.js index 9fa24122afc..beec25b810e 100644 --- a/test/built-ins/Atomics/load/bigint/bad-range.js +++ b/test/built-ins/Atomics/load/bigint/bad-range.js @@ -16,6 +16,6 @@ testWithBigIntTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.load(view, IdxGen(view)); - }, '`Atomics.load(view, IdxGen(view))` throws RangeError'); + }); }); }); diff --git a/test/built-ins/Atomics/load/non-views.js b/test/built-ins/Atomics/load/non-views.js index 98921fc7c99..0809014e42c 100644 --- a/test/built-ins/Atomics/load/non-views.js +++ b/test/built-ins/Atomics/load/non-views.js @@ -12,5 +12,5 @@ features: [ArrayBuffer, Atomics, DataView, SharedArrayBuffer, Symbol, TypedArray testWithAtomicsNonViewValues(function(view) { assert.throws(TypeError, function() { Atomics.load(view, 0); - }, '`Atomics.load(view, 0)` throws TypeError'); + }); }); diff --git a/test/built-ins/Atomics/load/not-a-constructor.js b/test/built-ins/Atomics/load/not-a-constructor.js index 5f4b3235af7..fde9d9b33ff 100644 --- a/test/built-ins/Atomics/load/not-a-constructor.js +++ b/test/built-ins/Atomics/load/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Atomics.load), false, 'isConstructor(Atomics.load assert.throws(TypeError, () => { new Atomics.load(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT))); -}, '`new Atomics.load(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT)))` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/notify/bad-range.js b/test/built-ins/Atomics/notify/bad-range.js index bafa2b247e8..5ec4e3a2dd5 100644 --- a/test/built-ins/Atomics/notify/bad-range.js +++ b/test/built-ins/Atomics/notify/bad-range.js @@ -22,5 +22,5 @@ const i32a = new Int32Array( testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.notify(i32a, IdxGen(i32a), 0); - }, '`Atomics.notify(i32a, IdxGen(i32a), 0)` throws RangeError'); + }); }); diff --git a/test/built-ins/Atomics/notify/bigint/bad-range.js b/test/built-ins/Atomics/notify/bigint/bad-range.js index fbab7c02a7a..2b949696b7e 100644 --- a/test/built-ins/Atomics/notify/bigint/bad-range.js +++ b/test/built-ins/Atomics/notify/bigint/bad-range.js @@ -22,5 +22,5 @@ const i64a = new BigInt64Array( testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.notify(i64a, IdxGen(i64a), 0); - }, '`Atomics.notify(i64a, IdxGen(i64a), 0)` throws RangeError'); + }); }); diff --git a/test/built-ins/Atomics/notify/bigint/non-bigint64-typedarray-throws.js b/test/built-ins/Atomics/notify/bigint/non-bigint64-typedarray-throws.js index 78dfbdd67bf..c7dca0a84ee 100644 --- a/test/built-ins/Atomics/notify/bigint/non-bigint64-typedarray-throws.js +++ b/test/built-ins/Atomics/notify/bigint/non-bigint64-typedarray-throws.js @@ -27,8 +27,8 @@ const poisoned = { assert.throws(TypeError, function() { Atomics.wait(i64a, 0, 0); -}, '`Atomics.wait(i64a, 0, 0)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait(i64a, poisoned, poisoned); -}, '`Atomics.wait(i64a, poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/notify/bigint/non-shared-bufferdata-count-evaluation-throws.js b/test/built-ins/Atomics/notify/bigint/non-shared-bufferdata-count-evaluation-throws.js index 806ac14c1e2..3b01a0ec259 100644 --- a/test/built-ins/Atomics/notify/bigint/non-shared-bufferdata-count-evaluation-throws.js +++ b/test/built-ins/Atomics/notify/bigint/non-shared-bufferdata-count-evaluation-throws.js @@ -30,4 +30,4 @@ const poisoned = { assert.throws(Test262Error, function() { Atomics.notify(i64a, poisoned, 0); -}, '`Atomics.notify(i64a, poisoned, 0)` throws Test262Error'); +}); diff --git a/test/built-ins/Atomics/notify/bigint/non-shared-bufferdata-index-evaluation-throws.js b/test/built-ins/Atomics/notify/bigint/non-shared-bufferdata-index-evaluation-throws.js index 8eec8255143..5dc64a16ab1 100644 --- a/test/built-ins/Atomics/notify/bigint/non-shared-bufferdata-index-evaluation-throws.js +++ b/test/built-ins/Atomics/notify/bigint/non-shared-bufferdata-index-evaluation-throws.js @@ -27,6 +27,6 @@ const poisoned = { assert.throws(Test262Error, function() { Atomics.notify(i64a, 0, poisoned); -}, '`Atomics.notify(i64a, 0, poisoned)` throws Test262Error'); +}); diff --git a/test/built-ins/Atomics/notify/bigint/non-shared-bufferdata-non-shared-int-views-throws.js b/test/built-ins/Atomics/notify/bigint/non-shared-bufferdata-non-shared-int-views-throws.js index 0e882dbcaa8..7737d8148be 100644 --- a/test/built-ins/Atomics/notify/bigint/non-shared-bufferdata-non-shared-int-views-throws.js +++ b/test/built-ins/Atomics/notify/bigint/non-shared-bufferdata-non-shared-int-views-throws.js @@ -18,4 +18,4 @@ const poisoned = { assert.throws(TypeError, function() { Atomics.notify(new BigUint64Array(nonsab), poisoned, poisoned); -}, '`Atomics.notify(new BigUint64Array(nonsab), poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/notify/bigint/null-bufferdata-throws.js b/test/built-ins/Atomics/notify/bigint/null-bufferdata-throws.js index f47804cc3ce..754f16cc19d 100644 --- a/test/built-ins/Atomics/notify/bigint/null-bufferdata-throws.js +++ b/test/built-ins/Atomics/notify/bigint/null-bufferdata-throws.js @@ -33,4 +33,4 @@ try { assert.throws(TypeError, function() { Atomics.notify(i64a, poisoned, poisoned); -}, '`Atomics.notify(i64a, poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/notify/count-symbol-throws.js b/test/built-ins/Atomics/notify/count-symbol-throws.js index 1c95848ae7b..e4333693ead 100644 --- a/test/built-ins/Atomics/notify/count-symbol-throws.js +++ b/test/built-ins/Atomics/notify/count-symbol-throws.js @@ -23,4 +23,4 @@ const i32a = new Int32Array( assert.throws(TypeError, function() { Atomics.notify(i32a, 0, Symbol()); -}, '`Atomics.notify(i32a, 0, Symbol())` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/notify/count-tointeger-throws-then-wake-throws.js b/test/built-ins/Atomics/notify/count-tointeger-throws-then-wake-throws.js index febcae5411f..f279101517a 100644 --- a/test/built-ins/Atomics/notify/count-tointeger-throws-then-wake-throws.js +++ b/test/built-ins/Atomics/notify/count-tointeger-throws-then-wake-throws.js @@ -29,4 +29,4 @@ const poisoned = { assert.throws(Test262Error, function() { Atomics.notify(i32a, 0, poisoned); -}, '`Atomics.notify(i32a, 0, poisoned)` throws Test262Error'); +}); diff --git a/test/built-ins/Atomics/notify/negative-index-throws.js b/test/built-ins/Atomics/notify/negative-index-throws.js index 55a7816f3f8..13994c11383 100644 --- a/test/built-ins/Atomics/notify/negative-index-throws.js +++ b/test/built-ins/Atomics/notify/negative-index-throws.js @@ -28,13 +28,13 @@ const poisoned = { assert.throws(RangeError, function() { Atomics.notify(i32a, -Infinity, poisoned); -}, '`Atomics.notify(i32a, -Infinity, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.notify(i32a, -7.999, poisoned); -}, '`Atomics.notify(i32a, -7.999, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.notify(i32a, -1, poisoned); -}, '`Atomics.notify(i32a, -1, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.notify(i32a, -300, poisoned); -}, '`Atomics.notify(i32a, -300, poisoned)` throws RangeError'); +}); diff --git a/test/built-ins/Atomics/notify/non-int32-typedarray-throws.js b/test/built-ins/Atomics/notify/non-int32-typedarray-throws.js index 9d701c30d95..a0dabdfefd0 100644 --- a/test/built-ins/Atomics/notify/non-int32-typedarray-throws.js +++ b/test/built-ins/Atomics/notify/non-int32-typedarray-throws.js @@ -26,14 +26,14 @@ assert.throws(TypeError, function() { new SharedArrayBuffer(Float64Array.BYTES_PER_ELEMENT * 8) ); Atomics.notify(view, poisoned, poisoned); -}, '`const view = new Float64Array( new SharedArrayBuffer(Float64Array.BYTES_PER_ELEMENT * 8) ); Atomics.notify(view, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { const view = new Float32Array( new SharedArrayBuffer(Float32Array.BYTES_PER_ELEMENT * 4) ); Atomics.notify(view, poisoned, poisoned); -}, '`const view = new Float32Array( new SharedArrayBuffer(Float32Array.BYTES_PER_ELEMENT * 4) ); Atomics.notify(view, poisoned, poisoned)` throws TypeError'); +}); if (typeof Float16Array !== 'undefined') { assert.throws(TypeError, function() { @@ -41,7 +41,7 @@ if (typeof Float16Array !== 'undefined') { new SharedArrayBuffer(Float16Array.BYTES_PER_ELEMENT * 2) ); Atomics.notify(view, poisoned, poisoned); - }, '`const view = new Float16Array( new SharedArrayBuffer(Float16Array.BYTES_PER_ELEMENT * 2) ); Atomics.notify(view, poisoned, poisoned)` throws TypeError'); + }); } assert.throws(TypeError, function() { @@ -49,39 +49,39 @@ assert.throws(TypeError, function() { new SharedArrayBuffer(Int16Array.BYTES_PER_ELEMENT * 2) ); Atomics.notify(view, poisoned, poisoned); -}, '`const view = new Int16Array( new SharedArrayBuffer(Int16Array.BYTES_PER_ELEMENT * 2) ); Atomics.notify(view, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { const view = new Int8Array( new SharedArrayBuffer(Int8Array.BYTES_PER_ELEMENT) ); Atomics.notify(view, poisoned, poisoned); -}, '`const view = new Int8Array( new SharedArrayBuffer(Int8Array.BYTES_PER_ELEMENT) ); Atomics.notify(view, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { const view = new Uint32Array( new SharedArrayBuffer(Uint32Array.BYTES_PER_ELEMENT * 4) ); Atomics.notify(new Uint32Array(), poisoned, poisoned); -}, '`const view = new Uint32Array( new SharedArrayBuffer(Uint32Array.BYTES_PER_ELEMENT * 4) ); Atomics.notify(new Uint32Array(), poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { const view = new Uint16Array( new SharedArrayBuffer(Uint16Array.BYTES_PER_ELEMENT * 2) ); Atomics.notify(view, poisoned, poisoned); -}, '`const view = new Uint16Array( new SharedArrayBuffer(Uint16Array.BYTES_PER_ELEMENT * 2) ); Atomics.notify(view, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { const view = new Uint8Array( new SharedArrayBuffer(Uint8Array.BYTES_PER_ELEMENT) ); Atomics.notify(view, poisoned, poisoned); -}, '`const view = new Uint8Array( new SharedArrayBuffer(Uint8Array.BYTES_PER_ELEMENT) ); Atomics.notify(view, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { const view = new Uint8ClampedArray( new SharedArrayBuffer(Uint8ClampedArray.BYTES_PER_ELEMENT) ); Atomics.notify(view, poisoned, poisoned); -}, '`const view = new Uint8ClampedArray( new SharedArrayBuffer(Uint8ClampedArray.BYTES_PER_ELEMENT) ); Atomics.notify(view, poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/notify/non-shared-bufferdata-count-evaluation-throws.js b/test/built-ins/Atomics/notify/non-shared-bufferdata-count-evaluation-throws.js index 0656f5a6b6e..db0e2996075 100644 --- a/test/built-ins/Atomics/notify/non-shared-bufferdata-count-evaluation-throws.js +++ b/test/built-ins/Atomics/notify/non-shared-bufferdata-count-evaluation-throws.js @@ -31,6 +31,6 @@ const poisoned = { assert.throws(Test262Error, function() { Atomics.notify(i32a, 0, poisoned); -}, '`Atomics.notify(i32a, 0, poisoned)` throws Test262Error'); +}); diff --git a/test/built-ins/Atomics/notify/non-shared-bufferdata-index-evaluation-throws.js b/test/built-ins/Atomics/notify/non-shared-bufferdata-index-evaluation-throws.js index 8c2c334f6ba..3e0fa07df8e 100644 --- a/test/built-ins/Atomics/notify/non-shared-bufferdata-index-evaluation-throws.js +++ b/test/built-ins/Atomics/notify/non-shared-bufferdata-index-evaluation-throws.js @@ -27,6 +27,6 @@ const poisoned = { assert.throws(Test262Error, function() { Atomics.notify(i32a, poisoned, 0); -}, '`Atomics.notify(i32a, poisoned, 0)` throws Test262Error'); +}); diff --git a/test/built-ins/Atomics/notify/non-shared-bufferdata-non-shared-int-views-throws.js b/test/built-ins/Atomics/notify/non-shared-bufferdata-non-shared-int-views-throws.js index 458aaa0517d..51e9ba28684 100644 --- a/test/built-ins/Atomics/notify/non-shared-bufferdata-non-shared-int-views-throws.js +++ b/test/built-ins/Atomics/notify/non-shared-bufferdata-non-shared-int-views-throws.js @@ -18,24 +18,24 @@ const poisoned = { assert.throws(TypeError, function() { Atomics.notify(new Int16Array(nonsab), poisoned, poisoned); -}, '`Atomics.notify(new Int16Array(nonsab), poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(new Int8Array(nonsab), poisoned, poisoned); -}, '`Atomics.notify(new Int8Array(nonsab), poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(new Uint32Array(nonsab), poisoned, poisoned); -}, '`Atomics.notify(new Uint32Array(nonsab), poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(new Uint16Array(nonsab), poisoned, poisoned); -}, '`Atomics.notify(new Uint16Array(nonsab), poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(new Uint8Array(nonsab), poisoned, poisoned); -}, '`Atomics.notify(new Uint8Array(nonsab), poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(new Uint8ClampedArray(nonsab), poisoned, poisoned); -}, '`Atomics.notify(new Uint8ClampedArray(nonsab), poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/notify/non-shared-int-views.js b/test/built-ins/Atomics/notify/non-shared-int-views.js index ae22d77be55..6797a7b529a 100644 --- a/test/built-ins/Atomics/notify/non-shared-int-views.js +++ b/test/built-ins/Atomics/notify/non-shared-int-views.js @@ -18,24 +18,24 @@ const poisoned = { assert.throws(TypeError, function() { Atomics.notify(new Int16Array(sab), poisoned, poisoned); -}, '`Atomics.notify(new Int16Array(sab), poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(new Int8Array(sab), poisoned, poisoned); -}, '`Atomics.notify(new Int8Array(sab), poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(new Uint32Array(sab), poisoned, poisoned); -}, '`Atomics.notify(new Uint32Array(sab), poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(new Uint16Array(sab), poisoned, poisoned); -}, '`Atomics.notify(new Uint16Array(sab), poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(new Uint8Array(sab), poisoned, poisoned); -}, '`Atomics.notify(new Uint8Array(sab), poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(new Uint8ClampedArray(sab), poisoned, poisoned); -}, '`Atomics.notify(new Uint8ClampedArray(sab), poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/notify/non-views.js b/test/built-ins/Atomics/notify/non-views.js index 85a58b0b615..935e557a3f1 100644 --- a/test/built-ins/Atomics/notify/non-views.js +++ b/test/built-ins/Atomics/notify/non-views.js @@ -12,5 +12,5 @@ features: [ArrayBuffer, Atomics, DataView, SharedArrayBuffer, Symbol, TypedArray testWithAtomicsNonViewValues(function(nonView) { assert.throws(TypeError, function() { Atomics.notify(nonView, 0, 0); - }, '`Atomics.notify(nonView, 0, 0)` throws TypeError'); // Even with count == 0 + }); // Even with count == 0 }); diff --git a/test/built-ins/Atomics/notify/not-a-constructor.js b/test/built-ins/Atomics/notify/not-a-constructor.js index 2d7c1b33d4e..a62810f73e2 100644 --- a/test/built-ins/Atomics/notify/not-a-constructor.js +++ b/test/built-ins/Atomics/notify/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Atomics.notify), false, 'isConstructor(Atomics.no assert.throws(TypeError, () => { new Atomics.notify(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT))); -}, '`new Atomics.notify(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT)))` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/notify/not-a-typedarray-throws.js b/test/built-ins/Atomics/notify/not-a-typedarray-throws.js index 0e71a62076c..60c438c105f 100644 --- a/test/built-ins/Atomics/notify/not-a-typedarray-throws.js +++ b/test/built-ins/Atomics/notify/not-a-typedarray-throws.js @@ -22,8 +22,8 @@ const poisoned = { assert.throws(TypeError, function() { Atomics.wait({}, 0, 0, 0); -}, '`Atomics.wait({}, 0, 0, 0)` throws TypeError'); +}); assert.throws(TypeError, function () { Atomics.wait({}, poisoned, poisoned, poisoned); -}, '`Atomics.wait({}, poisoned, poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/notify/not-an-object-throws.js b/test/built-ins/Atomics/notify/not-an-object-throws.js index 353cdc197a1..9601bbbf4b6 100644 --- a/test/built-ins/Atomics/notify/not-an-object-throws.js +++ b/test/built-ins/Atomics/notify/not-an-object-throws.js @@ -21,28 +21,28 @@ const poisoned = { assert.throws(TypeError, function() { Atomics.notify(null, poisoned, poisoned); -}, '`Atomics.notify(null, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(undefined, poisoned, poisoned); -}, '`Atomics.notify(undefined, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(true, poisoned, poisoned); -}, '`Atomics.notify(true, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(false, poisoned, poisoned); -}, '`Atomics.notify(false, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify('***string***', poisoned, poisoned); -}, '`Atomics.notify(\'***string***\', poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(Number.NEGATIVE_INFINITY, poisoned, poisoned); -}, '`Atomics.notify(Number.NEGATIVE_INFINITY, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(Symbol('***symbol***'), poisoned, poisoned); -}, '`Atomics.notify(Symbol(\'***symbol***\'), poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/notify/null-bufferdata-throws.js b/test/built-ins/Atomics/notify/null-bufferdata-throws.js index 46f8504b94c..55070aadea4 100644 --- a/test/built-ins/Atomics/notify/null-bufferdata-throws.js +++ b/test/built-ins/Atomics/notify/null-bufferdata-throws.js @@ -40,4 +40,4 @@ try { assert.throws(TypeError, function() { Atomics.notify(i32a, poisoned, poisoned); -}, '`Atomics.notify(i32a, poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/notify/out-of-range-index-throws.js b/test/built-ins/Atomics/notify/out-of-range-index-throws.js index 814a0a73b89..591e1d336ec 100644 --- a/test/built-ins/Atomics/notify/out-of-range-index-throws.js +++ b/test/built-ins/Atomics/notify/out-of-range-index-throws.js @@ -28,10 +28,10 @@ var poisoned = { assert.throws(RangeError, function() { Atomics.notify(i32a, Infinity, poisoned); -}, '`Atomics.notify(i32a, Infinity, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.notify(i32a, 4, poisoned); -}, '`Atomics.notify(i32a, 4, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.notify(i32a, 200, poisoned); -}, '`Atomics.notify(i32a, 200, poisoned)` throws RangeError'); +}); diff --git a/test/built-ins/Atomics/notify/symbol-for-index-throws.js b/test/built-ins/Atomics/notify/symbol-for-index-throws.js index 26c0c5be137..0ae4c735189 100644 --- a/test/built-ins/Atomics/notify/symbol-for-index-throws.js +++ b/test/built-ins/Atomics/notify/symbol-for-index-throws.js @@ -46,16 +46,16 @@ const poisonedToPrimitive = { assert.throws(Test262Error, function() { Atomics.notify(i32a, poisonedValueOf, poisonedValueOf); -}, '`Atomics.notify(i32a, poisonedValueOf, poisonedValueOf)` throws Test262Error'); +}); assert.throws(Test262Error, function() { Atomics.notify(i32a, poisonedToPrimitive, poisonedToPrimitive); -}, '`Atomics.notify(i32a, poisonedToPrimitive, poisonedToPrimitive)` throws Test262Error'); +}); assert.throws(TypeError, function() { Atomics.notify(i32a, Symbol("foo"), poisonedValueOf); -}, '`Atomics.notify(i32a, Symbol("foo"), poisonedValueOf)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.notify(i32a, Symbol("foo"), poisonedToPrimitive); -}, '`Atomics.notify(i32a, Symbol("foo"), poisonedToPrimitive)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/or/bad-range.js b/test/built-ins/Atomics/or/bad-range.js index 5ac2f377870..c221f203f17 100644 --- a/test/built-ins/Atomics/or/bad-range.js +++ b/test/built-ins/Atomics/or/bad-range.js @@ -17,6 +17,6 @@ testWithTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.or(view, IdxGen(view), 10); - }, '`Atomics.or(view, IdxGen(view), 10)` throws RangeError'); + }); }); }, views); diff --git a/test/built-ins/Atomics/or/bigint/bad-range.js b/test/built-ins/Atomics/or/bigint/bad-range.js index c3f42881238..99c34e6c620 100644 --- a/test/built-ins/Atomics/or/bigint/bad-range.js +++ b/test/built-ins/Atomics/or/bigint/bad-range.js @@ -15,6 +15,6 @@ testWithBigIntTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.or(view, IdxGen(view), 10n); - }, '`Atomics.or(view, IdxGen(view), 10n)` throws RangeError'); + }); }); }); diff --git a/test/built-ins/Atomics/or/non-views.js b/test/built-ins/Atomics/or/non-views.js index 5ad0588b88d..21915a00935 100644 --- a/test/built-ins/Atomics/or/non-views.js +++ b/test/built-ins/Atomics/or/non-views.js @@ -12,5 +12,5 @@ features: [ArrayBuffer, Atomics, DataView, SharedArrayBuffer, Symbol, TypedArray testWithAtomicsNonViewValues(function(view) { assert.throws(TypeError, function() { Atomics.or(view, 0, 0); - }, '`Atomics.or(view, 0, 0)` throws TypeError'); + }); }); diff --git a/test/built-ins/Atomics/or/not-a-constructor.js b/test/built-ins/Atomics/or/not-a-constructor.js index 974625579f6..f5c0ef4b3e9 100644 --- a/test/built-ins/Atomics/or/not-a-constructor.js +++ b/test/built-ins/Atomics/or/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Atomics.or), false, 'isConstructor(Atomics.or) mu assert.throws(TypeError, () => { new Atomics.or(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT))); -}, '`new Atomics.or(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT)))` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/prop-desc.js b/test/built-ins/Atomics/prop-desc.js index 90825f14f77..d5fa42ea7a3 100644 --- a/test/built-ins/Atomics/prop-desc.js +++ b/test/built-ins/Atomics/prop-desc.js @@ -28,11 +28,11 @@ assert.sameValue(typeof Atomics, "object", 'The value of `typeof Atomics` is "ob assert.throws(TypeError, function() { Atomics(); -}, '`Atomics()` throws TypeError'); +}); assert.throws(TypeError, function() { new Atomics(); -}, '`new Atomics()` throws TypeError'); +}); verifyProperty(this, "Atomics", { enumerable: false, diff --git a/test/built-ins/Atomics/store/bad-range.js b/test/built-ins/Atomics/store/bad-range.js index 7037736a983..4449f85dcd3 100644 --- a/test/built-ins/Atomics/store/bad-range.js +++ b/test/built-ins/Atomics/store/bad-range.js @@ -17,6 +17,6 @@ testWithTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.store(view, IdxGen(view), 10); - }, '`Atomics.store(view, IdxGen(view), 10)` throws RangeError'); + }); }); }, views); diff --git a/test/built-ins/Atomics/store/bigint/bad-range.js b/test/built-ins/Atomics/store/bigint/bad-range.js index c79f46f9d32..068b95b31c8 100644 --- a/test/built-ins/Atomics/store/bigint/bad-range.js +++ b/test/built-ins/Atomics/store/bigint/bad-range.js @@ -15,6 +15,6 @@ testWithBigIntTypedArrayConstructors(TA => { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.store(view, IdxGen(view), 10n); - }, '`Atomics.store(view, IdxGen(view), 10n)` throws RangeError'); + }); }); }); diff --git a/test/built-ins/Atomics/store/non-views.js b/test/built-ins/Atomics/store/non-views.js index f5159751fc7..356f3a27ffd 100644 --- a/test/built-ins/Atomics/store/non-views.js +++ b/test/built-ins/Atomics/store/non-views.js @@ -12,5 +12,5 @@ features: [ArrayBuffer, Atomics, DataView, SharedArrayBuffer, Symbol, TypedArray testWithAtomicsNonViewValues(function(view) { assert.throws(TypeError, function() { Atomics.store(view, 0, 0); - }, '`Atomics.store(view, 0, 0)` throws TypeError'); + }); }); diff --git a/test/built-ins/Atomics/store/not-a-constructor.js b/test/built-ins/Atomics/store/not-a-constructor.js index 5478d50503e..331f15a839d 100644 --- a/test/built-ins/Atomics/store/not-a-constructor.js +++ b/test/built-ins/Atomics/store/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Atomics.store), false, 'isConstructor(Atomics.sto assert.throws(TypeError, () => { new Atomics.store(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT))); -}, '`new Atomics.store(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT)))` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/sub/bad-range.js b/test/built-ins/Atomics/sub/bad-range.js index 245fcb66a7b..15eabc048a1 100644 --- a/test/built-ins/Atomics/sub/bad-range.js +++ b/test/built-ins/Atomics/sub/bad-range.js @@ -17,6 +17,6 @@ testWithTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.sub(view, IdxGen(view), 10); - }, '`Atomics.sub(view, IdxGen(view), 10)` throws RangeError'); + }); }); }, views); diff --git a/test/built-ins/Atomics/sub/bigint/bad-range.js b/test/built-ins/Atomics/sub/bigint/bad-range.js index 624c2dfac3c..920eba9631c 100644 --- a/test/built-ins/Atomics/sub/bigint/bad-range.js +++ b/test/built-ins/Atomics/sub/bigint/bad-range.js @@ -15,6 +15,6 @@ testWithBigIntTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.sub(view, IdxGen(view), 10n); - }, '`Atomics.sub(view, IdxGen(view), 10n)` throws RangeError'); + }); }); }); diff --git a/test/built-ins/Atomics/sub/non-views.js b/test/built-ins/Atomics/sub/non-views.js index 9b8abbb2939..c415b5a75c9 100644 --- a/test/built-ins/Atomics/sub/non-views.js +++ b/test/built-ins/Atomics/sub/non-views.js @@ -12,5 +12,5 @@ features: [ArrayBuffer, Atomics, DataView, SharedArrayBuffer, Symbol, TypedArray testWithAtomicsNonViewValues(function(view) { assert.throws(TypeError, function() { Atomics.sub(view, 0, 0); - }, '`Atomics.sub(view, 0, 0)` throws TypeError'); + }); }); diff --git a/test/built-ins/Atomics/sub/not-a-constructor.js b/test/built-ins/Atomics/sub/not-a-constructor.js index 95c1c23d24d..d908130eb33 100644 --- a/test/built-ins/Atomics/sub/not-a-constructor.js +++ b/test/built-ins/Atomics/sub/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Atomics.sub), false, 'isConstructor(Atomics.sub) assert.throws(TypeError, () => { new Atomics.sub(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT))); -}, '`new Atomics.sub(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT)))` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/wait/bad-range.js b/test/built-ins/Atomics/wait/bad-range.js index 2ee68dced90..56eeaffcd98 100644 --- a/test/built-ins/Atomics/wait/bad-range.js +++ b/test/built-ins/Atomics/wait/bad-range.js @@ -22,5 +22,5 @@ const i32a = new Int32Array( testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.wait(i32a, IdxGen(i32a), 0, 0); - }, '`Atomics.wait(i32a, IdxGen(i32a), 0, 0)` throws RangeError'); + }); }); diff --git a/test/built-ins/Atomics/wait/bigint/bad-range.js b/test/built-ins/Atomics/wait/bigint/bad-range.js index 535933f2fd0..f15a77a4eb9 100644 --- a/test/built-ins/Atomics/wait/bigint/bad-range.js +++ b/test/built-ins/Atomics/wait/bigint/bad-range.js @@ -22,5 +22,5 @@ const i64a = new BigInt64Array( testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.wait(i64a, IdxGen(i64a), 0n, 0); - }, '`Atomics.wait(i64a, IdxGen(i64a), 0n, 0)` throws RangeError'); + }); }); diff --git a/test/built-ins/Atomics/wait/bigint/cannot-suspend-throws.js b/test/built-ins/Atomics/wait/bigint/cannot-suspend-throws.js index 569330baaa6..51d64b83a33 100644 --- a/test/built-ins/Atomics/wait/bigint/cannot-suspend-throws.js +++ b/test/built-ins/Atomics/wait/bigint/cannot-suspend-throws.js @@ -21,4 +21,4 @@ const i64a = new BigInt64Array(new SharedArrayBuffer(BigInt64Array.BYTES_PER_ELE assert.throws(TypeError, function() { Atomics.wait(i64a, 0, 0n, 0); -}, '`Atomics.wait(i64a, 0, 0n, 0)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/wait/bigint/negative-index-throws.js b/test/built-ins/Atomics/wait/bigint/negative-index-throws.js index 552b7104788..9acd86db1e5 100644 --- a/test/built-ins/Atomics/wait/bigint/negative-index-throws.js +++ b/test/built-ins/Atomics/wait/bigint/negative-index-throws.js @@ -27,13 +27,13 @@ const poisoned = { assert.throws(RangeError, function() { Atomics.wait(i64a, -Infinity, poisoned, poisoned); -}, '`Atomics.wait(i64a, -Infinity, poisoned, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.wait(i64a, -7.999, poisoned, poisoned); -}, '`Atomics.wait(i64a, -7.999, poisoned, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.wait(i64a, -1, poisoned, poisoned); -}, '`Atomics.wait(i64a, -1, poisoned, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.wait(i64a, -300, poisoned, poisoned); -}, '`Atomics.wait(i64a, -300, poisoned, poisoned)` throws RangeError'); +}); diff --git a/test/built-ins/Atomics/wait/bigint/non-bigint64-typedarray-throws.js b/test/built-ins/Atomics/wait/bigint/non-bigint64-typedarray-throws.js index 9574f9374c5..d435c0f1141 100644 --- a/test/built-ins/Atomics/wait/bigint/non-bigint64-typedarray-throws.js +++ b/test/built-ins/Atomics/wait/bigint/non-bigint64-typedarray-throws.js @@ -34,8 +34,8 @@ const poisoned = { assert.throws(TypeError, function() { Atomics.wait(i64a, 0, 0n, 0); -}, '`Atomics.wait(i64a, 0, 0n, 0)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait(i64a, poisoned, poisoned, poisoned); -}, '`Atomics.wait(i64a, poisoned, poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/wait/bigint/non-shared-bufferdata-throws.js b/test/built-ins/Atomics/wait/bigint/non-shared-bufferdata-throws.js index 6769b54bd82..e23d2536c12 100644 --- a/test/built-ins/Atomics/wait/bigint/non-shared-bufferdata-throws.js +++ b/test/built-ins/Atomics/wait/bigint/non-shared-bufferdata-throws.js @@ -24,8 +24,8 @@ const poisoned = { assert.throws(TypeError, function() { Atomics.wait(i64a, 0, 0n, 0); -}, '`Atomics.wait(i64a, 0, 0n, 0)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait(i64a, poisoned, poisoned, poisoned); -}, '`Atomics.wait(i64a, poisoned, poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/wait/bigint/null-bufferdata-throws.js b/test/built-ins/Atomics/wait/bigint/null-bufferdata-throws.js index e1fb418d913..c40ee437749 100644 --- a/test/built-ins/Atomics/wait/bigint/null-bufferdata-throws.js +++ b/test/built-ins/Atomics/wait/bigint/null-bufferdata-throws.js @@ -42,4 +42,4 @@ try { assert.throws(TypeError, function() { Atomics.wait(i64a, poisoned, poisoned, poisoned); -}, '`Atomics.wait(i64a, poisoned, poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/wait/bigint/out-of-range-index-throws.js b/test/built-ins/Atomics/wait/bigint/out-of-range-index-throws.js index be7ba81e20b..dd86c469c43 100644 --- a/test/built-ins/Atomics/wait/bigint/out-of-range-index-throws.js +++ b/test/built-ins/Atomics/wait/bigint/out-of-range-index-throws.js @@ -28,10 +28,10 @@ const poisoned = { assert.throws(RangeError, function() { Atomics.wait(i64a, Infinity, poisoned, poisoned); -}, '`Atomics.wait(i64a, Infinity, poisoned, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.wait(i64a, 8, poisoned, poisoned); -}, '`Atomics.wait(i64a, 8, poisoned, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.wait(i64a, 200, poisoned, poisoned); -}, '`Atomics.wait(i64a, 200, poisoned, poisoned)` throws RangeError'); +}); diff --git a/test/built-ins/Atomics/wait/cannot-suspend-throws.js b/test/built-ins/Atomics/wait/cannot-suspend-throws.js index 48941b8cabe..39792eb6825 100644 --- a/test/built-ins/Atomics/wait/cannot-suspend-throws.js +++ b/test/built-ins/Atomics/wait/cannot-suspend-throws.js @@ -24,4 +24,4 @@ const i32a = new Int32Array( assert.throws(TypeError, function() { Atomics.wait(i32a, 0, 0, 0); -}, '`Atomics.wait(i32a, 0, 0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/wait/negative-index-throws.js b/test/built-ins/Atomics/wait/negative-index-throws.js index 62dc993ed10..4fbed6f56bf 100644 --- a/test/built-ins/Atomics/wait/negative-index-throws.js +++ b/test/built-ins/Atomics/wait/negative-index-throws.js @@ -29,13 +29,13 @@ const poisoned = { assert.throws(RangeError, function() { Atomics.wait(i32a, -Infinity, poisoned, poisoned); -}, '`Atomics.wait(i32a, -Infinity, poisoned, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.wait(i32a, -7.999, poisoned, poisoned); -}, '`Atomics.wait(i32a, -7.999, poisoned, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.wait(i32a, -1, poisoned, poisoned); -}, '`Atomics.wait(i32a, -1, poisoned, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.wait(i32a, -300, poisoned, poisoned); -}, '`Atomics.wait(i32a, -300, poisoned, poisoned)` throws RangeError'); +}); diff --git a/test/built-ins/Atomics/wait/non-int32-typedarray-throws.js b/test/built-ins/Atomics/wait/non-int32-typedarray-throws.js index 83294bd838c..eb2a5340590 100644 --- a/test/built-ins/Atomics/wait/non-int32-typedarray-throws.js +++ b/test/built-ins/Atomics/wait/non-int32-typedarray-throws.js @@ -26,14 +26,14 @@ assert.throws(TypeError, function() { new SharedArrayBuffer(Float64Array.BYTES_PER_ELEMENT * 8) ); Atomics.wait(view, poisoned, poisoned, poisoned); -}, '`const view = new Float64Array( new SharedArrayBuffer(Float64Array.BYTES_PER_ELEMENT * 8) ); Atomics.wait(view, poisoned, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { const view = new Float32Array( new SharedArrayBuffer(Float32Array.BYTES_PER_ELEMENT * 4) ); Atomics.wait(view, poisoned, poisoned, poisoned); -}, '`const view = new Float32Array( new SharedArrayBuffer(Float32Array.BYTES_PER_ELEMENT * 4) ); Atomics.wait(view, poisoned, poisoned, poisoned)` throws TypeError'); +}); if (typeof Float16Array !== 'undefined') { assert.throws(TypeError, function() { @@ -41,7 +41,7 @@ if (typeof Float16Array !== 'undefined') { new SharedArrayBuffer(Float16Array.BYTES_PER_ELEMENT * 2) ); Atomics.wait(view, poisoned, poisoned, poisoned); - }, '`const view = new Float16Array( new SharedArrayBuffer(Float16Array.BYTES_PER_ELEMENT * 2) ); Atomics.wait(view, poisoned, poisoned, poisoned)` throws TypeError'); + }); } assert.throws(TypeError, function() { @@ -49,39 +49,39 @@ assert.throws(TypeError, function() { new SharedArrayBuffer(Int16Array.BYTES_PER_ELEMENT * 2) ); Atomics.wait(view, poisoned, poisoned, poisoned); -}, '`const view = new Int16Array( new SharedArrayBuffer(Int16Array.BYTES_PER_ELEMENT * 2) ); Atomics.wait(view, poisoned, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { const view = new Int8Array( new SharedArrayBuffer(Int8Array.BYTES_PER_ELEMENT) ); Atomics.wait(view, poisoned, poisoned, poisoned); -}, '`const view = new Int8Array( new SharedArrayBuffer(Int8Array.BYTES_PER_ELEMENT) ); Atomics.wait(view, poisoned, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { const view = new Uint32Array( new SharedArrayBuffer(Uint32Array.BYTES_PER_ELEMENT * 4) ); Atomics.wait(view, poisoned, poisoned, poisoned); -}, '`const view = new Uint32Array( new SharedArrayBuffer(Uint32Array.BYTES_PER_ELEMENT * 4) ); Atomics.wait(view, poisoned, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { const view = new Uint16Array( new SharedArrayBuffer(Uint16Array.BYTES_PER_ELEMENT * 2) ); Atomics.wait(view, poisoned, poisoned, poisoned); -}, '`const view = new Uint16Array( new SharedArrayBuffer(Uint16Array.BYTES_PER_ELEMENT * 2) ); Atomics.wait(view, poisoned, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { const view = new Uint8Array( new SharedArrayBuffer(Uint8Array.BYTES_PER_ELEMENT) ); Atomics.wait(view, poisoned, poisoned, poisoned); -}, '`const view = new Uint8Array( new SharedArrayBuffer(Uint8Array.BYTES_PER_ELEMENT) ); Atomics.wait(view, poisoned, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { const view = new Uint8ClampedArray( new SharedArrayBuffer(Uint8ClampedArray.BYTES_PER_ELEMENT) ); Atomics.wait(view, poisoned, poisoned, poisoned); -}, '`const view = new Uint8ClampedArray( new SharedArrayBuffer(Uint8ClampedArray.BYTES_PER_ELEMENT) ); Atomics.wait(view, poisoned, poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/wait/non-shared-bufferdata-throws.js b/test/built-ins/Atomics/wait/non-shared-bufferdata-throws.js index 4da17d0bd4e..164af59e2b7 100644 --- a/test/built-ins/Atomics/wait/non-shared-bufferdata-throws.js +++ b/test/built-ins/Atomics/wait/non-shared-bufferdata-throws.js @@ -27,8 +27,8 @@ const poisoned = { assert.throws(TypeError, function() { Atomics.wait(i32a, 0, 0, 0); -}, '`Atomics.wait(i32a, 0, 0, 0)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait(i32a, poisoned, poisoned, poisoned); -}, '`Atomics.wait(i32a, poisoned, poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/wait/not-a-typedarray-throws.js b/test/built-ins/Atomics/wait/not-a-typedarray-throws.js index 62b7388f116..108f2353974 100644 --- a/test/built-ins/Atomics/wait/not-a-typedarray-throws.js +++ b/test/built-ins/Atomics/wait/not-a-typedarray-throws.js @@ -22,8 +22,8 @@ var poisoned = { assert.throws(TypeError, function() { Atomics.wait({}, 0, 0, 0); -}, '`Atomics.wait({}, 0, 0, 0)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait({}, poisoned, poisoned, poisoned); -}, '`Atomics.wait({}, poisoned, poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/wait/not-an-object-throws.js b/test/built-ins/Atomics/wait/not-an-object-throws.js index ce1c0a49371..a15e973b30f 100644 --- a/test/built-ins/Atomics/wait/not-an-object-throws.js +++ b/test/built-ins/Atomics/wait/not-an-object-throws.js @@ -21,28 +21,28 @@ var poisoned = { assert.throws(TypeError, function() { Atomics.wait(null, poisoned, poisoned, poisoned); -}, '`Atomics.wait(null, poisoned, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait(undefined, poisoned, poisoned, poisoned); -}, '`Atomics.wait(undefined, poisoned, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait(true, poisoned, poisoned, poisoned); -}, '`Atomics.wait(true, poisoned, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait(false, poisoned, poisoned, poisoned); -}, '`Atomics.wait(false, poisoned, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait('***string***', poisoned, poisoned, poisoned); -}, '`Atomics.wait(\'***string***\', poisoned, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait(Number.NEGATIVE_INFINITY, poisoned, poisoned, poisoned); -}, '`Atomics.wait(Number.NEGATIVE_INFINITY, poisoned, poisoned, poisoned)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait(Symbol('***symbol***'), poisoned, poisoned, poisoned); -}, '`Atomics.wait(Symbol(\'***symbol***\'), poisoned, poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/wait/null-bufferdata-throws.js b/test/built-ins/Atomics/wait/null-bufferdata-throws.js index 3747df7a8d2..b4b88b1aabd 100644 --- a/test/built-ins/Atomics/wait/null-bufferdata-throws.js +++ b/test/built-ins/Atomics/wait/null-bufferdata-throws.js @@ -40,4 +40,4 @@ try { assert.throws(TypeError, function() { Atomics.wait(i32a, poisoned, poisoned, poisoned); -}, '`Atomics.wait(i32a, poisoned, poisoned, poisoned)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/wait/out-of-range-index-throws.js b/test/built-ins/Atomics/wait/out-of-range-index-throws.js index 023bb7237cc..a50c31113d2 100644 --- a/test/built-ins/Atomics/wait/out-of-range-index-throws.js +++ b/test/built-ins/Atomics/wait/out-of-range-index-throws.js @@ -28,13 +28,13 @@ const poisoned = { assert.throws(RangeError, function() { Atomics.wait(i32a, Infinity, poisoned, poisoned); -}, '`Atomics.wait(i32a, Infinity, poisoned, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.wait(i32a, -1, poisoned, poisoned); -}, '`Atomics.wait(i32a, -1, poisoned, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.wait(i32a, 4, poisoned, poisoned); -}, '`Atomics.wait(i32a, 4, poisoned, poisoned)` throws RangeError'); +}); assert.throws(RangeError, function() { Atomics.wait(i32a, 200, poisoned, poisoned); -}, '`Atomics.wait(i32a, 200, poisoned, poisoned)` throws RangeError'); +}); diff --git a/test/built-ins/Atomics/wait/poisoned-object-for-timeout-throws.js b/test/built-ins/Atomics/wait/poisoned-object-for-timeout-throws.js index e2880c29f4a..b29c9610394 100644 --- a/test/built-ins/Atomics/wait/poisoned-object-for-timeout-throws.js +++ b/test/built-ins/Atomics/wait/poisoned-object-for-timeout-throws.js @@ -36,8 +36,8 @@ const poisonedToPrimitive = { assert.throws(Test262Error, function() { Atomics.wait(i32a, 0, 0, poisonedValueOf); -}, '`Atomics.wait(i32a, 0, 0, poisonedValueOf)` throws Test262Error'); +}); assert.throws(Test262Error, function() { Atomics.wait(i32a, 0, 0, poisonedToPrimitive); -}, '`Atomics.wait(i32a, 0, 0, poisonedToPrimitive)` throws Test262Error'); +}); diff --git a/test/built-ins/Atomics/wait/symbol-for-index-throws.js b/test/built-ins/Atomics/wait/symbol-for-index-throws.js index 77a562f015f..09563117423 100644 --- a/test/built-ins/Atomics/wait/symbol-for-index-throws.js +++ b/test/built-ins/Atomics/wait/symbol-for-index-throws.js @@ -46,16 +46,16 @@ const poisonedToPrimitive = { assert.throws(Test262Error, function() { Atomics.wait(i32a, poisonedValueOf, poisonedValueOf, poisonedValueOf); -}, '`Atomics.wait(i32a, poisonedValueOf, poisonedValueOf, poisonedValueOf)` throws Test262Error'); +}); assert.throws(Test262Error, function() { Atomics.wait(i32a, poisonedToPrimitive, poisonedToPrimitive, poisonedToPrimitive); -}, '`Atomics.wait(i32a, poisonedToPrimitive, poisonedToPrimitive, poisonedToPrimitive)` throws Test262Error'); +}); assert.throws(TypeError, function() { Atomics.wait(i32a, Symbol('foo'), poisonedValueOf, poisonedValueOf); -}, '`Atomics.wait(i32a, Symbol(\'foo\'), poisonedValueOf, poisonedValueOf)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait(i32a, Symbol('foo'), poisonedToPrimitive, poisonedToPrimitive); -}, '`Atomics.wait(i32a, Symbol(\'foo\'), poisonedToPrimitive, poisonedToPrimitive)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/wait/symbol-for-timeout-throws.js b/test/built-ins/Atomics/wait/symbol-for-timeout-throws.js index 7d2afedd3f8..6030e0fd132 100644 --- a/test/built-ins/Atomics/wait/symbol-for-timeout-throws.js +++ b/test/built-ins/Atomics/wait/symbol-for-timeout-throws.js @@ -32,16 +32,16 @@ var poisonedToPrimitive = { assert.throws(Test262Error, function() { Atomics.wait(i32a, 0, 0, poisonedValueOf); -}, '`Atomics.wait(i32a, 0, 0, poisonedValueOf)` throws Test262Error'); +}); assert.throws(Test262Error, function() { Atomics.wait(i32a, 0, 0, poisonedToPrimitive); -}, '`Atomics.wait(i32a, 0, 0, poisonedToPrimitive)` throws Test262Error'); +}); assert.throws(TypeError, function() { Atomics.wait(i32a, 0, 0, Symbol("foo")); -}, '`Atomics.wait(i32a, 0, 0, Symbol("foo"))` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait(i32a, 0, 0, Symbol("foo")); -}, '`Atomics.wait(i32a, 0, 0, Symbol("foo"))` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/wait/symbol-for-value-throws.js b/test/built-ins/Atomics/wait/symbol-for-value-throws.js index 6fff6234823..bbbf7f48426 100644 --- a/test/built-ins/Atomics/wait/symbol-for-value-throws.js +++ b/test/built-ins/Atomics/wait/symbol-for-value-throws.js @@ -37,16 +37,16 @@ const poisonedToPrimitive = { assert.throws(Test262Error, function() { Atomics.wait(i32a, 0, poisonedValueOf, poisonedValueOf); -}, '`Atomics.wait(i32a, 0, poisonedValueOf, poisonedValueOf)` throws Test262Error'); +}); assert.throws(Test262Error, function() { Atomics.wait(i32a, 0, poisonedToPrimitive, poisonedToPrimitive); -}, '`Atomics.wait(i32a, 0, poisonedToPrimitive, poisonedToPrimitive)` throws Test262Error'); +}); assert.throws(TypeError, function() { Atomics.wait(i32a, 0, Symbol("foo"), poisonedValueOf); -}, '`Atomics.wait(i32a, 0, Symbol("foo"), poisonedValueOf)` throws TypeError'); +}); assert.throws(TypeError, function() { Atomics.wait(i32a, 0, Symbol("foo"), poisonedToPrimitive); -}, '`Atomics.wait(i32a, 0, Symbol("foo"), poisonedToPrimitive)` throws TypeError'); +}); diff --git a/test/built-ins/Atomics/xor/bad-range.js b/test/built-ins/Atomics/xor/bad-range.js index 644f7523503..0de01cbd9cd 100644 --- a/test/built-ins/Atomics/xor/bad-range.js +++ b/test/built-ins/Atomics/xor/bad-range.js @@ -17,6 +17,6 @@ testWithTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.xor(view, IdxGen(view), 0); - }, '`Atomics.xor(view, IdxGen(view), 0)` throws RangeError'); + }); }); }, views); diff --git a/test/built-ins/Atomics/xor/bigint/bad-range.js b/test/built-ins/Atomics/xor/bigint/bad-range.js index 45a2db5bd99..5436347fe35 100644 --- a/test/built-ins/Atomics/xor/bigint/bad-range.js +++ b/test/built-ins/Atomics/xor/bigint/bad-range.js @@ -16,6 +16,6 @@ testWithBigIntTypedArrayConstructors(function(TA) { testWithAtomicsOutOfBoundsIndices(function(IdxGen) { assert.throws(RangeError, function() { Atomics.xor(view, IdxGen(view), 10); - }, '`Atomics.xor(view, IdxGen(view), 10)` throws RangeError'); + }); }); }); diff --git a/test/built-ins/Atomics/xor/non-views.js b/test/built-ins/Atomics/xor/non-views.js index d4f4cd77c28..a4c4c167d21 100644 --- a/test/built-ins/Atomics/xor/non-views.js +++ b/test/built-ins/Atomics/xor/non-views.js @@ -12,5 +12,5 @@ features: [ArrayBuffer, Atomics, DataView, SharedArrayBuffer, Symbol, TypedArray testWithAtomicsNonViewValues(function(view) { assert.throws(TypeError, function() { Atomics.xor(view, 0, 0); - }, '`Atomics.xor(view, 0, 0)` throws TypeError'); + }); }); diff --git a/test/built-ins/Atomics/xor/not-a-constructor.js b/test/built-ins/Atomics/xor/not-a-constructor.js index 6e04b69f011..c48782415d4 100644 --- a/test/built-ins/Atomics/xor/not-a-constructor.js +++ b/test/built-ins/Atomics/xor/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Atomics.xor), false, 'isConstructor(Atomics.xor) assert.throws(TypeError, () => { new Atomics.xor(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT))); -}, '`new Atomics.xor(new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT)))` throws TypeError'); +}); diff --git a/test/built-ins/BigInt/asIntN/not-a-constructor.js b/test/built-ins/BigInt/asIntN/not-a-constructor.js index 1cf1ae2d813..32a3db0abdf 100644 --- a/test/built-ins/BigInt/asIntN/not-a-constructor.js +++ b/test/built-ins/BigInt/asIntN/not-a-constructor.js @@ -23,4 +23,4 @@ assert.sameValue(isConstructor(BigInt.asIntN), false, 'isConstructor(BigInt.asIn assert.throws(TypeError, () => { new BigInt.asIntN(64, 1n); -}, '`new BigInt.asIntN(64, 1n)` throws TypeError'); +}); diff --git a/test/built-ins/BigInt/asUintN/not-a-constructor.js b/test/built-ins/BigInt/asUintN/not-a-constructor.js index cbedea1ed00..c48e1071cd0 100644 --- a/test/built-ins/BigInt/asUintN/not-a-constructor.js +++ b/test/built-ins/BigInt/asUintN/not-a-constructor.js @@ -23,4 +23,4 @@ assert.sameValue(isConstructor(BigInt.asUintN), false, 'isConstructor(BigInt.asU assert.throws(TypeError, () => { new BigInt.asUintN(64, 1n); -}, '`new BigInt.asUintN(64, 1n)` throws TypeError'); +}); diff --git a/test/built-ins/BigInt/prototype/toLocaleString/not-a-constructor.js b/test/built-ins/BigInt/prototype/toLocaleString/not-a-constructor.js index e3caae3152b..7ca45e23bc4 100644 --- a/test/built-ins/BigInt/prototype/toLocaleString/not-a-constructor.js +++ b/test/built-ins/BigInt/prototype/toLocaleString/not-a-constructor.js @@ -28,4 +28,4 @@ assert.sameValue( assert.throws(TypeError, () => { let n = 1n; new n.toLocaleString(); -}, '`let n = 1n; new n.toLocaleString()` throws TypeError'); +}); diff --git a/test/built-ins/BigInt/prototype/toString/not-a-constructor.js b/test/built-ins/BigInt/prototype/toString/not-a-constructor.js index cd5763a8e7b..dd3b0db9690 100644 --- a/test/built-ins/BigInt/prototype/toString/not-a-constructor.js +++ b/test/built-ins/BigInt/prototype/toString/not-a-constructor.js @@ -28,4 +28,4 @@ assert.sameValue( assert.throws(TypeError, () => { let n = 1n; new n.toString(); -}, '`let n = 1n; new n.toString()` throws TypeError'); +}); diff --git a/test/built-ins/BigInt/prototype/valueOf/not-a-constructor.js b/test/built-ins/BigInt/prototype/valueOf/not-a-constructor.js index 982214f99ac..a9fceb7d029 100644 --- a/test/built-ins/BigInt/prototype/valueOf/not-a-constructor.js +++ b/test/built-ins/BigInt/prototype/valueOf/not-a-constructor.js @@ -28,4 +28,4 @@ assert.sameValue( assert.throws(TypeError, () => { let n = 1n; new n.valueOf(); -}, '`let n = 1n; new n.valueOf()` throws TypeError'); +}); diff --git a/test/built-ins/Boolean/prototype/toString/not-a-constructor.js b/test/built-ins/Boolean/prototype/toString/not-a-constructor.js index f70ed4defa4..8df1c7bf330 100644 --- a/test/built-ins/Boolean/prototype/toString/not-a-constructor.js +++ b/test/built-ins/Boolean/prototype/toString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Boolean.prototype.toString(); -}, '`new Boolean.prototype.toString()` throws TypeError'); +}); diff --git a/test/built-ins/Boolean/prototype/valueOf/not-a-constructor.js b/test/built-ins/Boolean/prototype/valueOf/not-a-constructor.js index 578f9d94611..8cbe7bf1f6b 100644 --- a/test/built-ins/Boolean/prototype/valueOf/not-a-constructor.js +++ b/test/built-ins/Boolean/prototype/valueOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Boolean.prototype.valueOf(); -}, '`new Boolean.prototype.valueOf()` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/getBigInt64/not-a-constructor.js b/test/built-ins/DataView/prototype/getBigInt64/not-a-constructor.js index 758d8690f36..fc73045f9a3 100644 --- a/test/built-ins/DataView/prototype/getBigInt64/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/getBigInt64/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.getBigInt64(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.getBigInt64(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/getBigUint64/not-a-constructor.js b/test/built-ins/DataView/prototype/getBigUint64/not-a-constructor.js index 8610660741d..6592a4f760b 100644 --- a/test/built-ins/DataView/prototype/getBigUint64/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/getBigUint64/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.getBigUint64(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.getBigUint64(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/getFloat32/not-a-constructor.js b/test/built-ins/DataView/prototype/getFloat32/not-a-constructor.js index 6a269af05a7..d65fc678e72 100644 --- a/test/built-ins/DataView/prototype/getFloat32/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/getFloat32/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.getFloat32(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.getFloat32(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/getFloat64/not-a-constructor.js b/test/built-ins/DataView/prototype/getFloat64/not-a-constructor.js index 54b1105a795..f326b61b085 100644 --- a/test/built-ins/DataView/prototype/getFloat64/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/getFloat64/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.getFloat64(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.getFloat64(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/getInt16/not-a-constructor.js b/test/built-ins/DataView/prototype/getInt16/not-a-constructor.js index 03f38347d32..1f8c6669308 100644 --- a/test/built-ins/DataView/prototype/getInt16/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/getInt16/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.getInt16(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.getInt16(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/getInt32/not-a-constructor.js b/test/built-ins/DataView/prototype/getInt32/not-a-constructor.js index 30aa97373b1..24d02a3af18 100644 --- a/test/built-ins/DataView/prototype/getInt32/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/getInt32/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.getInt32(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.getInt32(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/getInt8/not-a-constructor.js b/test/built-ins/DataView/prototype/getInt8/not-a-constructor.js index a0d48f745e4..7d88a3324f5 100644 --- a/test/built-ins/DataView/prototype/getInt8/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/getInt8/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.getInt8(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.getInt8(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/getUint16/not-a-constructor.js b/test/built-ins/DataView/prototype/getUint16/not-a-constructor.js index b0ad42c3947..6493a6020c1 100644 --- a/test/built-ins/DataView/prototype/getUint16/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/getUint16/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.getUint16(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.getUint16(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/getUint32/not-a-constructor.js b/test/built-ins/DataView/prototype/getUint32/not-a-constructor.js index 98ca228cc24..65931d9db67 100644 --- a/test/built-ins/DataView/prototype/getUint32/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/getUint32/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.getUint32(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.getUint32(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/getUint8/not-a-constructor.js b/test/built-ins/DataView/prototype/getUint8/not-a-constructor.js index b3165ff2ae5..4cfd47a0d37 100644 --- a/test/built-ins/DataView/prototype/getUint8/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/getUint8/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.getUint8(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.getUint8(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/setBigInt64/not-a-constructor.js b/test/built-ins/DataView/prototype/setBigInt64/not-a-constructor.js index 29ae5b573cf..e620e6155ee 100644 --- a/test/built-ins/DataView/prototype/setBigInt64/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/setBigInt64/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.setBigInt64(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.setBigInt64(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/setBigUint64/not-a-constructor.js b/test/built-ins/DataView/prototype/setBigUint64/not-a-constructor.js index b9354d7ea85..2c5b5d6b44e 100644 --- a/test/built-ins/DataView/prototype/setBigUint64/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/setBigUint64/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.setBigUint64(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.setBigUint64(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/setFloat32/not-a-constructor.js b/test/built-ins/DataView/prototype/setFloat32/not-a-constructor.js index ae8c2625d4e..37e2534f196 100644 --- a/test/built-ins/DataView/prototype/setFloat32/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/setFloat32/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.setFloat32(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.setFloat32(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/setFloat64/not-a-constructor.js b/test/built-ins/DataView/prototype/setFloat64/not-a-constructor.js index f2429b5c259..33618e14f12 100644 --- a/test/built-ins/DataView/prototype/setFloat64/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/setFloat64/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.setFloat64(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.setFloat64(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/setInt16/not-a-constructor.js b/test/built-ins/DataView/prototype/setInt16/not-a-constructor.js index 08610bdf2ab..6c9bc77cc63 100644 --- a/test/built-ins/DataView/prototype/setInt16/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/setInt16/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.setInt16(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.setInt16(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/setInt32/not-a-constructor.js b/test/built-ins/DataView/prototype/setInt32/not-a-constructor.js index bfda6b24032..329cc728d89 100644 --- a/test/built-ins/DataView/prototype/setInt32/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/setInt32/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.setInt32(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.setInt32(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/setInt8/not-a-constructor.js b/test/built-ins/DataView/prototype/setInt8/not-a-constructor.js index 02de3d71925..6bb376e6b3b 100644 --- a/test/built-ins/DataView/prototype/setInt8/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/setInt8/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.setInt8(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.setInt8(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/setUint16/not-a-constructor.js b/test/built-ins/DataView/prototype/setUint16/not-a-constructor.js index 7c80e85b426..300fced5bfd 100644 --- a/test/built-ins/DataView/prototype/setUint16/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/setUint16/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.setUint16(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.setUint16(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/setUint32/not-a-constructor.js b/test/built-ins/DataView/prototype/setUint32/not-a-constructor.js index 2a7d234d5d5..f5c3819ce13 100644 --- a/test/built-ins/DataView/prototype/setUint32/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/setUint32/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.setUint32(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.setUint32(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/DataView/prototype/setUint8/not-a-constructor.js b/test/built-ins/DataView/prototype/setUint8/not-a-constructor.js index 8ea7610a665..956fbfa369e 100644 --- a/test/built-ins/DataView/prototype/setUint8/not-a-constructor.js +++ b/test/built-ins/DataView/prototype/setUint8/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let dv = new DataView(new ArrayBuffer(16)); new dv.setUint8(0, 0); -}, '`let dv = new DataView(new ArrayBuffer(16)); new dv.setUint8(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/Date/UTC/not-a-constructor.js b/test/built-ins/Date/UTC/not-a-constructor.js index c59dbc6d074..7217ea895d9 100644 --- a/test/built-ins/Date/UTC/not-a-constructor.js +++ b/test/built-ins/Date/UTC/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Date.UTC), false, 'isConstructor(Date.UTC) must r assert.throws(TypeError, () => { new Date.UTC(); -}, '`new Date.UTC()` throws TypeError'); +}); diff --git a/test/built-ins/Date/now/not-a-constructor.js b/test/built-ins/Date/now/not-a-constructor.js index c9b04f47a81..d215d8ba7ce 100644 --- a/test/built-ins/Date/now/not-a-constructor.js +++ b/test/built-ins/Date/now/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Date.now), false, 'isConstructor(Date.now) must r assert.throws(TypeError, () => { new Date.now(); -}, '`new Date.now()` throws TypeError'); +}); diff --git a/test/built-ins/Date/parse/not-a-constructor.js b/test/built-ins/Date/parse/not-a-constructor.js index 35354055c89..dd3276953be 100644 --- a/test/built-ins/Date/parse/not-a-constructor.js +++ b/test/built-ins/Date/parse/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Date.parse), false, 'isConstructor(Date.parse) mu assert.throws(TypeError, () => { new Date.parse(); -}, '`new Date.parse()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getDate/not-a-constructor.js b/test/built-ins/Date/prototype/getDate/not-a-constructor.js index 3043f07b612..10d86b317bd 100644 --- a/test/built-ins/Date/prototype/getDate/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getDate/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getDate(); -}, '`let date = new Date(Date.now()); new date.getDate()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getDay/not-a-constructor.js b/test/built-ins/Date/prototype/getDay/not-a-constructor.js index e365a32cb2d..f01ec92f010 100644 --- a/test/built-ins/Date/prototype/getDay/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getDay/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getDay(); -}, '`let date = new Date(Date.now()); new date.getDay()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getFullYear/not-a-constructor.js b/test/built-ins/Date/prototype/getFullYear/not-a-constructor.js index 187e6d11f0b..6e7a58a1531 100644 --- a/test/built-ins/Date/prototype/getFullYear/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getFullYear/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getFullYear(); -}, '`let date = new Date(Date.now()); new date.getFullYear()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getHours/not-a-constructor.js b/test/built-ins/Date/prototype/getHours/not-a-constructor.js index be31482638b..b29d2d1b251 100644 --- a/test/built-ins/Date/prototype/getHours/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getHours/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getHours(); -}, '`let date = new Date(Date.now()); new date.getHours()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getMilliseconds/not-a-constructor.js b/test/built-ins/Date/prototype/getMilliseconds/not-a-constructor.js index 4adbb5c1845..383905c84ea 100644 --- a/test/built-ins/Date/prototype/getMilliseconds/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getMilliseconds/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getMilliseconds(); -}, '`let date = new Date(Date.now()); new date.getMilliseconds()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getMinutes/not-a-constructor.js b/test/built-ins/Date/prototype/getMinutes/not-a-constructor.js index 695eebb793c..ab9e598692e 100644 --- a/test/built-ins/Date/prototype/getMinutes/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getMinutes/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getMinutes(); -}, '`let date = new Date(Date.now()); new date.getMinutes()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getMonth/not-a-constructor.js b/test/built-ins/Date/prototype/getMonth/not-a-constructor.js index 597d476abf7..0fc4e67c51c 100644 --- a/test/built-ins/Date/prototype/getMonth/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getMonth/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getMonth(); -}, '`let date = new Date(Date.now()); new date.getMonth()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getSeconds/not-a-constructor.js b/test/built-ins/Date/prototype/getSeconds/not-a-constructor.js index 953fc4f1df9..315b39d9f2e 100644 --- a/test/built-ins/Date/prototype/getSeconds/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getSeconds/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getSeconds(); -}, '`let date = new Date(Date.now()); new date.getSeconds()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getTime/not-a-constructor.js b/test/built-ins/Date/prototype/getTime/not-a-constructor.js index 034bd10167e..a5e4123f7ee 100644 --- a/test/built-ins/Date/prototype/getTime/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getTime/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getTime(); -}, '`let date = new Date(Date.now()); new date.getTime()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getTimezoneOffset/not-a-constructor.js b/test/built-ins/Date/prototype/getTimezoneOffset/not-a-constructor.js index ecf6bd62707..1304367613a 100644 --- a/test/built-ins/Date/prototype/getTimezoneOffset/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getTimezoneOffset/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getTimezoneOffset(); -}, '`let date = new Date(Date.now()); new date.getTimezoneOffset()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getUTCDate/not-a-constructor.js b/test/built-ins/Date/prototype/getUTCDate/not-a-constructor.js index 1d1440d03a3..21c13f31d30 100644 --- a/test/built-ins/Date/prototype/getUTCDate/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getUTCDate/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getUTCDate(); -}, '`let date = new Date(Date.now()); new date.getUTCDate()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getUTCDay/not-a-constructor.js b/test/built-ins/Date/prototype/getUTCDay/not-a-constructor.js index 23cd115a71a..0e6b5f13bdd 100644 --- a/test/built-ins/Date/prototype/getUTCDay/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getUTCDay/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getUTCDay(); -}, '`let date = new Date(Date.now()); new date.getUTCDay()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getUTCFullYear/not-a-constructor.js b/test/built-ins/Date/prototype/getUTCFullYear/not-a-constructor.js index 26e0e059691..529031f1a12 100644 --- a/test/built-ins/Date/prototype/getUTCFullYear/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getUTCFullYear/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getUTCFullYear(); -}, '`let date = new Date(Date.now()); new date.getUTCFullYear()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getUTCHours/not-a-constructor.js b/test/built-ins/Date/prototype/getUTCHours/not-a-constructor.js index c5f65a3b287..90ef143bf76 100644 --- a/test/built-ins/Date/prototype/getUTCHours/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getUTCHours/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getUTCHours(); -}, '`let date = new Date(Date.now()); new date.getUTCHours()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getUTCMilliseconds/not-a-constructor.js b/test/built-ins/Date/prototype/getUTCMilliseconds/not-a-constructor.js index d12dfdafd21..11669c4b731 100644 --- a/test/built-ins/Date/prototype/getUTCMilliseconds/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getUTCMilliseconds/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getUTCMilliseconds(); -}, '`let date = new Date(Date.now()); new date.getUTCMilliseconds()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getUTCMinutes/not-a-constructor.js b/test/built-ins/Date/prototype/getUTCMinutes/not-a-constructor.js index 3d0cbcad39d..3ff4da9fbe0 100644 --- a/test/built-ins/Date/prototype/getUTCMinutes/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getUTCMinutes/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getUTCMinutes(); -}, '`let date = new Date(Date.now()); new date.getUTCMinutes()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getUTCMonth/not-a-constructor.js b/test/built-ins/Date/prototype/getUTCMonth/not-a-constructor.js index dce22c74b90..8b012598fc8 100644 --- a/test/built-ins/Date/prototype/getUTCMonth/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getUTCMonth/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getUTCMonth(); -}, '`let date = new Date(Date.now()); new date.getUTCMonth()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/getUTCSeconds/not-a-constructor.js b/test/built-ins/Date/prototype/getUTCSeconds/not-a-constructor.js index 683ef986fb0..93168d857c7 100644 --- a/test/built-ins/Date/prototype/getUTCSeconds/not-a-constructor.js +++ b/test/built-ins/Date/prototype/getUTCSeconds/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getUTCSeconds(); -}, '`let date = new Date(Date.now()); new date.getUTCSeconds()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setDate/not-a-constructor.js b/test/built-ins/Date/prototype/setDate/not-a-constructor.js index 2db8b5e614b..a31f566f140 100644 --- a/test/built-ins/Date/prototype/setDate/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setDate/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setDate(); -}, '`let date = new Date(Date.now()); new date.setDate()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setFullYear/not-a-constructor.js b/test/built-ins/Date/prototype/setFullYear/not-a-constructor.js index bdad193c193..933ba06cae0 100644 --- a/test/built-ins/Date/prototype/setFullYear/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setFullYear/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setFullYear(); -}, '`let date = new Date(Date.now()); new date.setFullYear()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setHours/not-a-constructor.js b/test/built-ins/Date/prototype/setHours/not-a-constructor.js index 69c5053c56f..307b438dca8 100644 --- a/test/built-ins/Date/prototype/setHours/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setHours/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setHours(); -}, '`let date = new Date(Date.now()); new date.setHours()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setMilliseconds/not-a-constructor.js b/test/built-ins/Date/prototype/setMilliseconds/not-a-constructor.js index 4fbe9f3d7f4..cbc9503d474 100644 --- a/test/built-ins/Date/prototype/setMilliseconds/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setMilliseconds/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setMilliseconds(); -}, '`let date = new Date(Date.now()); new date.setMilliseconds()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setMinutes/not-a-constructor.js b/test/built-ins/Date/prototype/setMinutes/not-a-constructor.js index ea8fdf60022..d7c02ff0cac 100644 --- a/test/built-ins/Date/prototype/setMinutes/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setMinutes/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setMinutes(); -}, '`let date = new Date(Date.now()); new date.setMinutes()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setMonth/not-a-constructor.js b/test/built-ins/Date/prototype/setMonth/not-a-constructor.js index f58140aa86a..a7f30141717 100644 --- a/test/built-ins/Date/prototype/setMonth/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setMonth/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setMonth(); -}, '`let date = new Date(Date.now()); new date.setMonth()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setSeconds/not-a-constructor.js b/test/built-ins/Date/prototype/setSeconds/not-a-constructor.js index 0050fd8813c..8a0547aabb8 100644 --- a/test/built-ins/Date/prototype/setSeconds/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setSeconds/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setSeconds(); -}, '`let date = new Date(Date.now()); new date.setSeconds()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setTime/not-a-constructor.js b/test/built-ins/Date/prototype/setTime/not-a-constructor.js index aa0bba48b52..3e5671080e7 100644 --- a/test/built-ins/Date/prototype/setTime/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setTime/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setTime(); -}, '`let date = new Date(Date.now()); new date.setTime()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setUTCDate/not-a-constructor.js b/test/built-ins/Date/prototype/setUTCDate/not-a-constructor.js index 5e0aec9aceb..2de8486cc8c 100644 --- a/test/built-ins/Date/prototype/setUTCDate/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setUTCDate/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setUTCDate(); -}, '`let date = new Date(Date.now()); new date.setUTCDate()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setUTCFullYear/not-a-constructor.js b/test/built-ins/Date/prototype/setUTCFullYear/not-a-constructor.js index d3c78d18abc..b26ab45dc44 100644 --- a/test/built-ins/Date/prototype/setUTCFullYear/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setUTCFullYear/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setUTCFullYear(); -}, '`let date = new Date(Date.now()); new date.setUTCFullYear()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setUTCHours/not-a-constructor.js b/test/built-ins/Date/prototype/setUTCHours/not-a-constructor.js index 002c6bfbdc7..d91af9ee28d 100644 --- a/test/built-ins/Date/prototype/setUTCHours/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setUTCHours/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setUTCHours(); -}, '`let date = new Date(Date.now()); new date.setUTCHours()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setUTCMilliseconds/not-a-constructor.js b/test/built-ins/Date/prototype/setUTCMilliseconds/not-a-constructor.js index b5eca2fa8ca..1bb9dd87d31 100644 --- a/test/built-ins/Date/prototype/setUTCMilliseconds/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setUTCMilliseconds/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setUTCMilliseconds(); -}, '`let date = new Date(Date.now()); new date.setUTCMilliseconds()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setUTCMinutes/not-a-constructor.js b/test/built-ins/Date/prototype/setUTCMinutes/not-a-constructor.js index 0762ec300da..c2ea041e2c3 100644 --- a/test/built-ins/Date/prototype/setUTCMinutes/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setUTCMinutes/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setUTCMinutes(); -}, '`let date = new Date(Date.now()); new date.setUTCMinutes()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setUTCMonth/not-a-constructor.js b/test/built-ins/Date/prototype/setUTCMonth/not-a-constructor.js index c643c46b125..7d74c8f39fa 100644 --- a/test/built-ins/Date/prototype/setUTCMonth/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setUTCMonth/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setUTCMonth(); -}, '`let date = new Date(Date.now()); new date.setUTCMonth()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/setUTCSeconds/not-a-constructor.js b/test/built-ins/Date/prototype/setUTCSeconds/not-a-constructor.js index 0d3e05accff..b2058e3632d 100644 --- a/test/built-ins/Date/prototype/setUTCSeconds/not-a-constructor.js +++ b/test/built-ins/Date/prototype/setUTCSeconds/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setUTCSeconds(); -}, '`let date = new Date(Date.now()); new date.setUTCSeconds()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/toDateString/not-a-constructor.js b/test/built-ins/Date/prototype/toDateString/not-a-constructor.js index 77e948feb29..8b23807f76a 100644 --- a/test/built-ins/Date/prototype/toDateString/not-a-constructor.js +++ b/test/built-ins/Date/prototype/toDateString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.toDateString(); -}, '`let date = new Date(Date.now()); new date.toDateString()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/toISOString/not-a-constructor.js b/test/built-ins/Date/prototype/toISOString/not-a-constructor.js index 72fac855684..baed6bfbffe 100644 --- a/test/built-ins/Date/prototype/toISOString/not-a-constructor.js +++ b/test/built-ins/Date/prototype/toISOString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.toISOString(); -}, '`let date = new Date(Date.now()); new date.toISOString()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/toJSON/not-a-constructor.js b/test/built-ins/Date/prototype/toJSON/not-a-constructor.js index e0cc28f9c83..48fbcaa05ad 100644 --- a/test/built-ins/Date/prototype/toJSON/not-a-constructor.js +++ b/test/built-ins/Date/prototype/toJSON/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.toJSON(); -}, '`let date = new Date(Date.now()); new date.toJSON()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/toLocaleDateString/not-a-constructor.js b/test/built-ins/Date/prototype/toLocaleDateString/not-a-constructor.js index dd8cbb452c0..f304a948d7d 100644 --- a/test/built-ins/Date/prototype/toLocaleDateString/not-a-constructor.js +++ b/test/built-ins/Date/prototype/toLocaleDateString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.toLocaleDateString(); -}, '`let date = new Date(Date.now()); new date.toLocaleDateString()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/toLocaleString/not-a-constructor.js b/test/built-ins/Date/prototype/toLocaleString/not-a-constructor.js index e64a4c96dc9..299956fdca5 100644 --- a/test/built-ins/Date/prototype/toLocaleString/not-a-constructor.js +++ b/test/built-ins/Date/prototype/toLocaleString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.toLocaleString(); -}, '`let date = new Date(Date.now()); new date.toLocaleString()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/toLocaleTimeString/not-a-constructor.js b/test/built-ins/Date/prototype/toLocaleTimeString/not-a-constructor.js index 8ea04301508..4635a1558de 100644 --- a/test/built-ins/Date/prototype/toLocaleTimeString/not-a-constructor.js +++ b/test/built-ins/Date/prototype/toLocaleTimeString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.toLocaleTimeString(); -}, '`let date = new Date(Date.now()); new date.toLocaleTimeString()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/toString/not-a-constructor.js b/test/built-ins/Date/prototype/toString/not-a-constructor.js index 1d6e8d2d27b..61d0aee3e86 100644 --- a/test/built-ins/Date/prototype/toString/not-a-constructor.js +++ b/test/built-ins/Date/prototype/toString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.toString(); -}, '`let date = new Date(Date.now()); new date.toString()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/toTimeString/not-a-constructor.js b/test/built-ins/Date/prototype/toTimeString/not-a-constructor.js index c55fd5ac3dc..6b4179bb647 100644 --- a/test/built-ins/Date/prototype/toTimeString/not-a-constructor.js +++ b/test/built-ins/Date/prototype/toTimeString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.toTimeString(); -}, '`let date = new Date(Date.now()); new date.toTimeString()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/toUTCString/not-a-constructor.js b/test/built-ins/Date/prototype/toUTCString/not-a-constructor.js index 1554cb55be6..0747f238eda 100644 --- a/test/built-ins/Date/prototype/toUTCString/not-a-constructor.js +++ b/test/built-ins/Date/prototype/toUTCString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.toUTCString(); -}, '`let date = new Date(Date.now()); new date.toUTCString()` throws TypeError'); +}); diff --git a/test/built-ins/Date/prototype/valueOf/not-a-constructor.js b/test/built-ins/Date/prototype/valueOf/not-a-constructor.js index ce4a2083f01..5098688573a 100644 --- a/test/built-ins/Date/prototype/valueOf/not-a-constructor.js +++ b/test/built-ins/Date/prototype/valueOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.valueOf(); -}, '`let date = new Date(Date.now()); new date.valueOf()` throws TypeError'); +}); diff --git a/test/built-ins/Error/prototype/toString/not-a-constructor.js b/test/built-ins/Error/prototype/toString/not-a-constructor.js index ce2591120fc..13fba2df180 100644 --- a/test/built-ins/Error/prototype/toString/not-a-constructor.js +++ b/test/built-ins/Error/prototype/toString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Error.prototype.toString(); -}, '`new Error.prototype.toString()` throws TypeError'); +}); diff --git a/test/built-ins/FinalizationRegistry/prototype/cleanupSome/not-a-constructor.js b/test/built-ins/FinalizationRegistry/prototype/cleanupSome/not-a-constructor.js index 9bc781182e6..136a9c471a7 100644 --- a/test/built-ins/FinalizationRegistry/prototype/cleanupSome/not-a-constructor.js +++ b/test/built-ins/FinalizationRegistry/prototype/cleanupSome/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let fr = new FinalizationRegistry(() => {}); new fr.cleanupSome(() => {}); -}, '`let fr = new FinalizationRegistry(() => {}); new fr.cleanupSome(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js b/test/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js index 4599b8016e2..7c5871d13f5 100644 --- a/test/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js +++ b/test/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let fr = new FinalizationRegistry(() => {}); new fr.register({}); -}, '`let fr = new FinalizationRegistry(() => {}); new fr.register({})` throws TypeError'); +}); diff --git a/test/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js b/test/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js index 530a432f3bf..e538e51440f 100644 --- a/test/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js +++ b/test/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js @@ -29,5 +29,5 @@ 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'); +}); diff --git a/test/built-ins/Function/prototype/apply/not-a-constructor.js b/test/built-ins/Function/prototype/apply/not-a-constructor.js index c808b02011b..85f99273db2 100644 --- a/test/built-ins/Function/prototype/apply/not-a-constructor.js +++ b/test/built-ins/Function/prototype/apply/not-a-constructor.js @@ -29,8 +29,8 @@ assert.sameValue( assert.throws(TypeError, () => { new Function.prototype.apply; -}, '`new Function.prototype.apply` throws TypeError'); +}); assert.throws(TypeError, () => { new Function.prototype.apply(); -}, '`new Function.prototype.apply()` throws TypeError'); +}); diff --git a/test/built-ins/Function/prototype/bind/not-a-constructor.js b/test/built-ins/Function/prototype/bind/not-a-constructor.js index 2ad5ab62a72..0d37e20bc68 100644 --- a/test/built-ins/Function/prototype/bind/not-a-constructor.js +++ b/test/built-ins/Function/prototype/bind/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Function.prototype.bind(); -}, '`new Function.prototype.bind()` throws TypeError'); +}); diff --git a/test/built-ins/Function/prototype/call/not-a-constructor.js b/test/built-ins/Function/prototype/call/not-a-constructor.js index 34260535bd5..db82832b355 100644 --- a/test/built-ins/Function/prototype/call/not-a-constructor.js +++ b/test/built-ins/Function/prototype/call/not-a-constructor.js @@ -29,11 +29,11 @@ assert.sameValue( assert.throws(TypeError, () => { new Function.prototype.call(); -}, '`new Function.prototype.call()` throws TypeError'); +}); assert.throws(TypeError, () => { new Function.prototype.call; -}, '`new Function.prototype.call` throws TypeError'); +}); var call = Function.prototype.call; assert.throws(TypeError, () => { diff --git a/test/built-ins/Function/prototype/toString/not-a-constructor.js b/test/built-ins/Function/prototype/toString/not-a-constructor.js index e5725c33284..0028d480761 100644 --- a/test/built-ins/Function/prototype/toString/not-a-constructor.js +++ b/test/built-ins/Function/prototype/toString/not-a-constructor.js @@ -29,9 +29,9 @@ assert.sameValue( assert.throws(TypeError, () => { new Function.prototype.toString(); -}, '`new Function.prototype.toString()` throws TypeError'); +}); var toString = Function.prototype.toString; assert.throws(TypeError, () => { new toString; -}, '`new toString` throws TypeError'); +}); diff --git a/test/built-ins/GeneratorPrototype/next/not-a-constructor.js b/test/built-ins/GeneratorPrototype/next/not-a-constructor.js index 2db989485fa..50d259e1b09 100644 --- a/test/built-ins/GeneratorPrototype/next/not-a-constructor.js +++ b/test/built-ins/GeneratorPrototype/next/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { function* g() {} let iterator = g(); new iterator.next(); -}, '`function* g() {} let iterator = g(); new iterator.next()` throws TypeError'); +}); diff --git a/test/built-ins/GeneratorPrototype/return/not-a-constructor.js b/test/built-ins/GeneratorPrototype/return/not-a-constructor.js index 3ab0be9b0fa..aa04f561754 100644 --- a/test/built-ins/GeneratorPrototype/return/not-a-constructor.js +++ b/test/built-ins/GeneratorPrototype/return/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { function* g() {} let iterator = g(); new iterator.return(); -}, '`function* g() {} let iterator = g(); new iterator.return()` throws TypeError'); +}); diff --git a/test/built-ins/GeneratorPrototype/throw/not-a-constructor.js b/test/built-ins/GeneratorPrototype/throw/not-a-constructor.js index 45003752136..3f5ac7441ed 100644 --- a/test/built-ins/GeneratorPrototype/throw/not-a-constructor.js +++ b/test/built-ins/GeneratorPrototype/throw/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { function* g() {} let expected = new Test262Error(); let iterator = g();try {new iterator.throw(expected);} catch (e) {if (e !== expected) {throw e;}} -}, '`function* g() {} let expected = new Test262Error(); let iterator = g();try {new iterator.throw(expected);} catch (e) {if (e !== expected) {throw e;}}` throws TypeError'); +}); diff --git a/test/built-ins/JSON/parse/not-a-constructor.js b/test/built-ins/JSON/parse/not-a-constructor.js index 2ae56da307c..c029c134b49 100644 --- a/test/built-ins/JSON/parse/not-a-constructor.js +++ b/test/built-ins/JSON/parse/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(JSON.parse), false, 'isConstructor(JSON.parse) mu assert.throws(TypeError, () => { new JSON.parse('{}'); -}, '`new JSON.parse(\'{}\')` throws TypeError'); +}); diff --git a/test/built-ins/JSON/stringify/not-a-constructor.js b/test/built-ins/JSON/stringify/not-a-constructor.js index e702a03026a..c9a656aded6 100644 --- a/test/built-ins/JSON/stringify/not-a-constructor.js +++ b/test/built-ins/JSON/stringify/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(JSON.stringify), false, 'isConstructor(JSON.strin assert.throws(TypeError, () => { new JSON.stringify({}); -}, '`new JSON.stringify({})` throws TypeError'); +}); diff --git a/test/built-ins/Map/prototype/Symbol.iterator/not-a-constructor.js b/test/built-ins/Map/prototype/Symbol.iterator/not-a-constructor.js index a6c92886f3c..49a9baebefa 100644 --- a/test/built-ins/Map/prototype/Symbol.iterator/not-a-constructor.js +++ b/test/built-ins/Map/prototype/Symbol.iterator/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let m = new Map(); new m[Symbol.iterator](); -}, '`let m = new Map(); new m[Symbol.iterator]()` throws TypeError'); +}); diff --git a/test/built-ins/Map/prototype/clear/not-a-constructor.js b/test/built-ins/Map/prototype/clear/not-a-constructor.js index 1e6c7282f5e..2f625b1434f 100644 --- a/test/built-ins/Map/prototype/clear/not-a-constructor.js +++ b/test/built-ins/Map/prototype/clear/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Map.prototype.clear), false, 'isConstructor(Map.p assert.throws(TypeError, () => { let m = new Map(); new m.clear(); -}, '`let m = new Map(); new m.clear()` throws TypeError'); +}); diff --git a/test/built-ins/Map/prototype/delete/not-a-constructor.js b/test/built-ins/Map/prototype/delete/not-a-constructor.js index 52a9916fc17..5eb11794656 100644 --- a/test/built-ins/Map/prototype/delete/not-a-constructor.js +++ b/test/built-ins/Map/prototype/delete/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Map.prototype.delete), false, 'isConstructor(Map. assert.throws(TypeError, () => { let m = new Map(); new m.delete(); -}, '`let m = new Map(); new m.delete()` throws TypeError'); +}); diff --git a/test/built-ins/Map/prototype/entries/not-a-constructor.js b/test/built-ins/Map/prototype/entries/not-a-constructor.js index 023001bd26a..374373174f9 100644 --- a/test/built-ins/Map/prototype/entries/not-a-constructor.js +++ b/test/built-ins/Map/prototype/entries/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let m = new Map(); new m.entries(); -}, '`let m = new Map(); new m.entries()` throws TypeError'); +}); diff --git a/test/built-ins/Map/prototype/forEach/not-a-constructor.js b/test/built-ins/Map/prototype/forEach/not-a-constructor.js index 95f15cbe1f8..ddef62114b1 100644 --- a/test/built-ins/Map/prototype/forEach/not-a-constructor.js +++ b/test/built-ins/Map/prototype/forEach/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let m = new Map(); new m.forEach(); -}, '`let m = new Map(); new m.forEach()` throws TypeError'); +}); diff --git a/test/built-ins/Map/prototype/get/not-a-constructor.js b/test/built-ins/Map/prototype/get/not-a-constructor.js index aeca2580c7a..ef51be812d1 100644 --- a/test/built-ins/Map/prototype/get/not-a-constructor.js +++ b/test/built-ins/Map/prototype/get/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Map.prototype.get), false, 'isConstructor(Map.pro assert.throws(TypeError, () => { let m = new Map(); new m.get(); -}, '`let m = new Map(); new m.get()` throws TypeError'); +}); diff --git a/test/built-ins/Map/prototype/has/not-a-constructor.js b/test/built-ins/Map/prototype/has/not-a-constructor.js index ff3861b4ff4..c76685e5a4d 100644 --- a/test/built-ins/Map/prototype/has/not-a-constructor.js +++ b/test/built-ins/Map/prototype/has/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Map.prototype.has), false, 'isConstructor(Map.pro assert.throws(TypeError, () => { let m = new Map(); new m.has(); -}, '`let m = new Map(); new m.has()` throws TypeError'); +}); diff --git a/test/built-ins/Map/prototype/keys/not-a-constructor.js b/test/built-ins/Map/prototype/keys/not-a-constructor.js index d35257af218..32f6178238e 100644 --- a/test/built-ins/Map/prototype/keys/not-a-constructor.js +++ b/test/built-ins/Map/prototype/keys/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Map.prototype.keys), false, 'isConstructor(Map.pr assert.throws(TypeError, () => { let m = new Map(); new m.keys(); -}, '`let m = new Map(); new m.keys()` throws TypeError'); +}); diff --git a/test/built-ins/Map/prototype/set/not-a-constructor.js b/test/built-ins/Map/prototype/set/not-a-constructor.js index 3601f7804dd..8877be34fe8 100644 --- a/test/built-ins/Map/prototype/set/not-a-constructor.js +++ b/test/built-ins/Map/prototype/set/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Map.prototype.set), false, 'isConstructor(Map.pro assert.throws(TypeError, () => { let m = new Map(); new m.set(); -}, '`let m = new Map(); new m.set()` throws TypeError'); +}); diff --git a/test/built-ins/Map/prototype/values/not-a-constructor.js b/test/built-ins/Map/prototype/values/not-a-constructor.js index 20adb0c8d76..beb95d8fb88 100644 --- a/test/built-ins/Map/prototype/values/not-a-constructor.js +++ b/test/built-ins/Map/prototype/values/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Map.prototype.values), false, 'isConstructor(Map. assert.throws(TypeError, () => { let m = new Map(); new m.values(); -}, '`let m = new Map(); new m.values()` throws TypeError'); +}); diff --git a/test/built-ins/Math/abs/not-a-constructor.js b/test/built-ins/Math/abs/not-a-constructor.js index 9f97ccbb532..6291280c405 100644 --- a/test/built-ins/Math/abs/not-a-constructor.js +++ b/test/built-ins/Math/abs/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.abs), false, 'isConstructor(Math.abs) must r assert.throws(TypeError, () => { new Math.abs(); -}, '`new Math.abs()` throws TypeError'); +}); diff --git a/test/built-ins/Math/acos/not-a-constructor.js b/test/built-ins/Math/acos/not-a-constructor.js index 438e1b23a89..cb8e846b166 100644 --- a/test/built-ins/Math/acos/not-a-constructor.js +++ b/test/built-ins/Math/acos/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.acos), false, 'isConstructor(Math.acos) must assert.throws(TypeError, () => { new Math.acos(); -}, '`new Math.acos()` throws TypeError'); +}); diff --git a/test/built-ins/Math/acosh/not-a-constructor.js b/test/built-ins/Math/acosh/not-a-constructor.js index 549888fe9bc..35262694a2c 100644 --- a/test/built-ins/Math/acosh/not-a-constructor.js +++ b/test/built-ins/Math/acosh/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.acosh), false, 'isConstructor(Math.acosh) mu assert.throws(TypeError, () => { new Math.acosh(); -}, '`new Math.acosh()` throws TypeError'); +}); diff --git a/test/built-ins/Math/asin/not-a-constructor.js b/test/built-ins/Math/asin/not-a-constructor.js index c53025a1649..d5be5fcd078 100644 --- a/test/built-ins/Math/asin/not-a-constructor.js +++ b/test/built-ins/Math/asin/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.asin), false, 'isConstructor(Math.asin) must assert.throws(TypeError, () => { new Math.asin(); -}, '`new Math.asin()` throws TypeError'); +}); diff --git a/test/built-ins/Math/asinh/not-a-constructor.js b/test/built-ins/Math/asinh/not-a-constructor.js index 1803000c2a5..a67c955e00a 100644 --- a/test/built-ins/Math/asinh/not-a-constructor.js +++ b/test/built-ins/Math/asinh/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.asinh), false, 'isConstructor(Math.asinh) mu assert.throws(TypeError, () => { new Math.asinh(); -}, '`new Math.asinh()` throws TypeError'); +}); diff --git a/test/built-ins/Math/atan/not-a-constructor.js b/test/built-ins/Math/atan/not-a-constructor.js index d6037d6b220..0128758d4bb 100644 --- a/test/built-ins/Math/atan/not-a-constructor.js +++ b/test/built-ins/Math/atan/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.atan), false, 'isConstructor(Math.atan) must assert.throws(TypeError, () => { new Math.atan(); -}, '`new Math.atan()` throws TypeError'); +}); diff --git a/test/built-ins/Math/atan2/not-a-constructor.js b/test/built-ins/Math/atan2/not-a-constructor.js index 54f3ab02f33..fb782bf1bb8 100644 --- a/test/built-ins/Math/atan2/not-a-constructor.js +++ b/test/built-ins/Math/atan2/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.atan2), false, 'isConstructor(Math.atan2) mu assert.throws(TypeError, () => { new Math.atan2(); -}, '`new Math.atan2()` throws TypeError'); +}); diff --git a/test/built-ins/Math/atanh/not-a-constructor.js b/test/built-ins/Math/atanh/not-a-constructor.js index d1b9fe8f5ef..2587db59d95 100644 --- a/test/built-ins/Math/atanh/not-a-constructor.js +++ b/test/built-ins/Math/atanh/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.atanh), false, 'isConstructor(Math.atanh) mu assert.throws(TypeError, () => { new Math.atanh(); -}, '`new Math.atanh()` throws TypeError'); +}); diff --git a/test/built-ins/Math/cbrt/not-a-constructor.js b/test/built-ins/Math/cbrt/not-a-constructor.js index 219a13e7b36..ceb211dcce0 100644 --- a/test/built-ins/Math/cbrt/not-a-constructor.js +++ b/test/built-ins/Math/cbrt/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.cbrt), false, 'isConstructor(Math.cbrt) must assert.throws(TypeError, () => { new Math.cbrt(); -}, '`new Math.cbrt()` throws TypeError'); +}); diff --git a/test/built-ins/Math/ceil/not-a-constructor.js b/test/built-ins/Math/ceil/not-a-constructor.js index d98f5ad5223..15dab81c20a 100644 --- a/test/built-ins/Math/ceil/not-a-constructor.js +++ b/test/built-ins/Math/ceil/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.ceil), false, 'isConstructor(Math.ceil) must assert.throws(TypeError, () => { new Math.ceil(); -}, '`new Math.ceil()` throws TypeError'); +}); diff --git a/test/built-ins/Math/clz32/not-a-constructor.js b/test/built-ins/Math/clz32/not-a-constructor.js index 19c24d11b11..fb498a02185 100644 --- a/test/built-ins/Math/clz32/not-a-constructor.js +++ b/test/built-ins/Math/clz32/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.clz32), false, 'isConstructor(Math.clz32) mu assert.throws(TypeError, () => { new Math.clz32(); -}, '`new Math.clz32()` throws TypeError'); +}); diff --git a/test/built-ins/Math/cos/not-a-constructor.js b/test/built-ins/Math/cos/not-a-constructor.js index 1de13988cc1..f152a861c2f 100644 --- a/test/built-ins/Math/cos/not-a-constructor.js +++ b/test/built-ins/Math/cos/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.cos), false, 'isConstructor(Math.cos) must r assert.throws(TypeError, () => { new Math.cos(); -}, '`new Math.cos()` throws TypeError'); +}); diff --git a/test/built-ins/Math/cosh/not-a-constructor.js b/test/built-ins/Math/cosh/not-a-constructor.js index d1c27bbb929..cd8c57b91c3 100644 --- a/test/built-ins/Math/cosh/not-a-constructor.js +++ b/test/built-ins/Math/cosh/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.cosh), false, 'isConstructor(Math.cosh) must assert.throws(TypeError, () => { new Math.cosh(); -}, '`new Math.cosh()` throws TypeError'); +}); diff --git a/test/built-ins/Math/exp/not-a-constructor.js b/test/built-ins/Math/exp/not-a-constructor.js index 627ac218ff7..4a8823bcd69 100644 --- a/test/built-ins/Math/exp/not-a-constructor.js +++ b/test/built-ins/Math/exp/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.exp), false, 'isConstructor(Math.exp) must r assert.throws(TypeError, () => { new Math.exp(); -}, '`new Math.exp()` throws TypeError'); +}); diff --git a/test/built-ins/Math/expm1/not-a-constructor.js b/test/built-ins/Math/expm1/not-a-constructor.js index aa1ec5f5ea0..0e93c9b40cf 100644 --- a/test/built-ins/Math/expm1/not-a-constructor.js +++ b/test/built-ins/Math/expm1/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.expm1), false, 'isConstructor(Math.expm1) mu assert.throws(TypeError, () => { new Math.expm1(); -}, '`new Math.expm1()` throws TypeError'); +}); diff --git a/test/built-ins/Math/floor/not-a-constructor.js b/test/built-ins/Math/floor/not-a-constructor.js index e6e816c378b..a1d6dc45c50 100644 --- a/test/built-ins/Math/floor/not-a-constructor.js +++ b/test/built-ins/Math/floor/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.floor), false, 'isConstructor(Math.floor) mu assert.throws(TypeError, () => { new Math.floor(); -}, '`new Math.floor()` throws TypeError'); +}); diff --git a/test/built-ins/Math/fround/not-a-constructor.js b/test/built-ins/Math/fround/not-a-constructor.js index 307a77e8de3..66196cf8783 100644 --- a/test/built-ins/Math/fround/not-a-constructor.js +++ b/test/built-ins/Math/fround/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.fround), false, 'isConstructor(Math.fround) assert.throws(TypeError, () => { new Math.fround(); -}, '`new Math.fround()` throws TypeError'); +}); diff --git a/test/built-ins/Math/hypot/not-a-constructor.js b/test/built-ins/Math/hypot/not-a-constructor.js index 90c502222fe..bb0e5169ab0 100644 --- a/test/built-ins/Math/hypot/not-a-constructor.js +++ b/test/built-ins/Math/hypot/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.hypot), false, 'isConstructor(Math.hypot) mu assert.throws(TypeError, () => { new Math.hypot(); -}, '`new Math.hypot()` throws TypeError'); +}); diff --git a/test/built-ins/Math/imul/not-a-constructor.js b/test/built-ins/Math/imul/not-a-constructor.js index a7778acc513..8ad11f36ad0 100644 --- a/test/built-ins/Math/imul/not-a-constructor.js +++ b/test/built-ins/Math/imul/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.imul), false, 'isConstructor(Math.imul) must assert.throws(TypeError, () => { new Math.imul(); -}, '`new Math.imul()` throws TypeError'); +}); diff --git a/test/built-ins/Math/log/not-a-constructor.js b/test/built-ins/Math/log/not-a-constructor.js index cc6fc9f8734..cbe2fe28fdd 100644 --- a/test/built-ins/Math/log/not-a-constructor.js +++ b/test/built-ins/Math/log/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.log), false, 'isConstructor(Math.log) must r assert.throws(TypeError, () => { new Math.log(); -}, '`new Math.log()` throws TypeError'); +}); diff --git a/test/built-ins/Math/log10/not-a-constructor.js b/test/built-ins/Math/log10/not-a-constructor.js index 2dd276a0fba..527596153e3 100644 --- a/test/built-ins/Math/log10/not-a-constructor.js +++ b/test/built-ins/Math/log10/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.log10), false, 'isConstructor(Math.log10) mu assert.throws(TypeError, () => { new Math.log10(); -}, '`new Math.log10()` throws TypeError'); +}); diff --git a/test/built-ins/Math/log1p/not-a-constructor.js b/test/built-ins/Math/log1p/not-a-constructor.js index bfb7f5bc54c..a8a31daac00 100644 --- a/test/built-ins/Math/log1p/not-a-constructor.js +++ b/test/built-ins/Math/log1p/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.log1p), false, 'isConstructor(Math.log1p) mu assert.throws(TypeError, () => { new Math.log1p(); -}, '`new Math.log1p()` throws TypeError'); +}); diff --git a/test/built-ins/Math/log2/not-a-constructor.js b/test/built-ins/Math/log2/not-a-constructor.js index 386acaac2a0..e8c81edc21d 100644 --- a/test/built-ins/Math/log2/not-a-constructor.js +++ b/test/built-ins/Math/log2/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.log2), false, 'isConstructor(Math.log2) must assert.throws(TypeError, () => { new Math.log2(); -}, '`new Math.log2()` throws TypeError'); +}); diff --git a/test/built-ins/Math/max/not-a-constructor.js b/test/built-ins/Math/max/not-a-constructor.js index 5a53a7d382d..9a1a8569e6d 100644 --- a/test/built-ins/Math/max/not-a-constructor.js +++ b/test/built-ins/Math/max/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.max), false, 'isConstructor(Math.max) must r assert.throws(TypeError, () => { new Math.max(); -}, '`new Math.max()` throws TypeError'); +}); diff --git a/test/built-ins/Math/min/not-a-constructor.js b/test/built-ins/Math/min/not-a-constructor.js index e5a77a1b64c..ae759e91404 100644 --- a/test/built-ins/Math/min/not-a-constructor.js +++ b/test/built-ins/Math/min/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.min), false, 'isConstructor(Math.min) must r assert.throws(TypeError, () => { new Math.min(); -}, '`new Math.min()` throws TypeError'); +}); diff --git a/test/built-ins/Math/pow/not-a-constructor.js b/test/built-ins/Math/pow/not-a-constructor.js index 7ca5ac400d4..87437db4393 100644 --- a/test/built-ins/Math/pow/not-a-constructor.js +++ b/test/built-ins/Math/pow/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.pow), false, 'isConstructor(Math.pow) must r assert.throws(TypeError, () => { new Math.pow(); -}, '`new Math.pow()` throws TypeError'); +}); diff --git a/test/built-ins/Math/random/not-a-constructor.js b/test/built-ins/Math/random/not-a-constructor.js index 9dce5ebb914..996a4290702 100644 --- a/test/built-ins/Math/random/not-a-constructor.js +++ b/test/built-ins/Math/random/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.random), false, 'isConstructor(Math.random) assert.throws(TypeError, () => { new Math.random(); -}, '`new Math.random()` throws TypeError'); +}); diff --git a/test/built-ins/Math/round/not-a-constructor.js b/test/built-ins/Math/round/not-a-constructor.js index 8021cf1f336..18ab6e1f8b4 100644 --- a/test/built-ins/Math/round/not-a-constructor.js +++ b/test/built-ins/Math/round/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.round), false, 'isConstructor(Math.round) mu assert.throws(TypeError, () => { new Math.round(); -}, '`new Math.round()` throws TypeError'); +}); diff --git a/test/built-ins/Math/sign/not-a-constructor.js b/test/built-ins/Math/sign/not-a-constructor.js index a6706b1c86b..fa5ca3b642d 100644 --- a/test/built-ins/Math/sign/not-a-constructor.js +++ b/test/built-ins/Math/sign/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.sign), false, 'isConstructor(Math.sign) must assert.throws(TypeError, () => { new Math.sign(); -}, '`new Math.sign()` throws TypeError'); +}); diff --git a/test/built-ins/Math/sin/not-a-constructor.js b/test/built-ins/Math/sin/not-a-constructor.js index d3a124ee89d..b9f8c1886f1 100644 --- a/test/built-ins/Math/sin/not-a-constructor.js +++ b/test/built-ins/Math/sin/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.sin), false, 'isConstructor(Math.sin) must r assert.throws(TypeError, () => { new Math.sin(); -}, '`new Math.sin()` throws TypeError'); +}); diff --git a/test/built-ins/Math/sinh/not-a-constructor.js b/test/built-ins/Math/sinh/not-a-constructor.js index c5c9a1cb8b6..d868d7266ac 100644 --- a/test/built-ins/Math/sinh/not-a-constructor.js +++ b/test/built-ins/Math/sinh/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.sinh), false, 'isConstructor(Math.sinh) must assert.throws(TypeError, () => { new Math.sinh(); -}, '`new Math.sinh()` throws TypeError'); +}); diff --git a/test/built-ins/Math/sqrt/not-a-constructor.js b/test/built-ins/Math/sqrt/not-a-constructor.js index a74a1651653..9dcc8ca6592 100644 --- a/test/built-ins/Math/sqrt/not-a-constructor.js +++ b/test/built-ins/Math/sqrt/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.sqrt), false, 'isConstructor(Math.sqrt) must assert.throws(TypeError, () => { new Math.sqrt(); -}, '`new Math.sqrt()` throws TypeError'); +}); diff --git a/test/built-ins/Math/tan/not-a-constructor.js b/test/built-ins/Math/tan/not-a-constructor.js index 39343eabb58..b19087a2be3 100644 --- a/test/built-ins/Math/tan/not-a-constructor.js +++ b/test/built-ins/Math/tan/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.tan), false, 'isConstructor(Math.tan) must r assert.throws(TypeError, () => { new Math.tan(); -}, '`new Math.tan()` throws TypeError'); +}); diff --git a/test/built-ins/Math/tanh/not-a-constructor.js b/test/built-ins/Math/tanh/not-a-constructor.js index 654287259ea..dfedc1480df 100644 --- a/test/built-ins/Math/tanh/not-a-constructor.js +++ b/test/built-ins/Math/tanh/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.tanh), false, 'isConstructor(Math.tanh) must assert.throws(TypeError, () => { new Math.tanh(); -}, '`new Math.tanh()` throws TypeError'); +}); diff --git a/test/built-ins/Math/trunc/not-a-constructor.js b/test/built-ins/Math/trunc/not-a-constructor.js index 8f05f271597..2fbbdc41299 100644 --- a/test/built-ins/Math/trunc/not-a-constructor.js +++ b/test/built-ins/Math/trunc/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Math.trunc), false, 'isConstructor(Math.trunc) mu assert.throws(TypeError, () => { new Math.trunc(); -}, '`new Math.trunc()` throws TypeError'); +}); diff --git a/test/built-ins/Number/isFinite/not-a-constructor.js b/test/built-ins/Number/isFinite/not-a-constructor.js index 2e98a092084..18343cc72e7 100644 --- a/test/built-ins/Number/isFinite/not-a-constructor.js +++ b/test/built-ins/Number/isFinite/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Number.isFinite), false, 'isConstructor(Number.is assert.throws(TypeError, () => { new Number.isFinite(); -}, '`new Number.isFinite()` throws TypeError'); +}); diff --git a/test/built-ins/Number/isInteger/not-a-constructor.js b/test/built-ins/Number/isInteger/not-a-constructor.js index 38afae3fbc1..6a4ebe18d69 100644 --- a/test/built-ins/Number/isInteger/not-a-constructor.js +++ b/test/built-ins/Number/isInteger/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Number.isInteger), false, 'isConstructor(Number.i assert.throws(TypeError, () => { new Number.isInteger(); -}, '`new Number.isInteger()` throws TypeError'); +}); diff --git a/test/built-ins/Number/isNaN/not-a-constructor.js b/test/built-ins/Number/isNaN/not-a-constructor.js index a08feb4889b..57f4584146c 100644 --- a/test/built-ins/Number/isNaN/not-a-constructor.js +++ b/test/built-ins/Number/isNaN/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Number.isNaN), false, 'isConstructor(Number.isNaN assert.throws(TypeError, () => { new Number.isNaN(); -}, '`new Number.isNaN()` throws TypeError'); +}); diff --git a/test/built-ins/Number/isSafeInteger/not-a-constructor.js b/test/built-ins/Number/isSafeInteger/not-a-constructor.js index 1a12c01a7f2..da6b090bbb7 100644 --- a/test/built-ins/Number/isSafeInteger/not-a-constructor.js +++ b/test/built-ins/Number/isSafeInteger/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Number.isSafeInteger), false, 'isConstructor(Numb assert.throws(TypeError, () => { new Number.isSafeInteger(); -}, '`new Number.isSafeInteger()` throws TypeError'); +}); diff --git a/test/built-ins/Number/parseFloat/not-a-constructor.js b/test/built-ins/Number/parseFloat/not-a-constructor.js index 47c8d66ff60..b38f4fb4f1f 100644 --- a/test/built-ins/Number/parseFloat/not-a-constructor.js +++ b/test/built-ins/Number/parseFloat/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Number.parseFloat), false, 'isConstructor(Number. assert.throws(TypeError, () => { new Number.parseFloat(); -}, '`new Number.parseFloat()` throws TypeError'); +}); diff --git a/test/built-ins/Number/parseInt/not-a-constructor.js b/test/built-ins/Number/parseInt/not-a-constructor.js index 01a45b57deb..6c68b2b6dd5 100644 --- a/test/built-ins/Number/parseInt/not-a-constructor.js +++ b/test/built-ins/Number/parseInt/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Number.parseInt), false, 'isConstructor(Number.pa assert.throws(TypeError, () => { new Number.parseInt(); -}, '`new Number.parseInt()` throws TypeError'); +}); diff --git a/test/built-ins/Number/prototype/toExponential/not-a-constructor.js b/test/built-ins/Number/prototype/toExponential/not-a-constructor.js index 0b527a0da75..56d6e83201d 100644 --- a/test/built-ins/Number/prototype/toExponential/not-a-constructor.js +++ b/test/built-ins/Number/prototype/toExponential/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Number.prototype.toExponential(); -}, '`new Number.prototype.toExponential()` throws TypeError'); +}); diff --git a/test/built-ins/Number/prototype/toFixed/not-a-constructor.js b/test/built-ins/Number/prototype/toFixed/not-a-constructor.js index cac5784b5b4..915a52fa168 100644 --- a/test/built-ins/Number/prototype/toFixed/not-a-constructor.js +++ b/test/built-ins/Number/prototype/toFixed/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Number.prototype.toFixed(); -}, '`new Number.prototype.toFixed()` throws TypeError'); +}); diff --git a/test/built-ins/Number/prototype/toLocaleString/not-a-constructor.js b/test/built-ins/Number/prototype/toLocaleString/not-a-constructor.js index 3def72b7a6d..cc998dfacd4 100644 --- a/test/built-ins/Number/prototype/toLocaleString/not-a-constructor.js +++ b/test/built-ins/Number/prototype/toLocaleString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Number.prototype.toLocaleString(); -}, '`new Number.prototype.toLocaleString()` throws TypeError'); +}); diff --git a/test/built-ins/Number/prototype/toPrecision/not-a-constructor.js b/test/built-ins/Number/prototype/toPrecision/not-a-constructor.js index a53b9c41a6e..aad7f5ff75f 100644 --- a/test/built-ins/Number/prototype/toPrecision/not-a-constructor.js +++ b/test/built-ins/Number/prototype/toPrecision/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Number.prototype.toPrecision(); -}, '`new Number.prototype.toPrecision()` throws TypeError'); +}); diff --git a/test/built-ins/Number/prototype/toString/not-a-constructor.js b/test/built-ins/Number/prototype/toString/not-a-constructor.js index 67daa524cad..2312bc09aa9 100644 --- a/test/built-ins/Number/prototype/toString/not-a-constructor.js +++ b/test/built-ins/Number/prototype/toString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Number.prototype.toString(); -}, '`new Number.prototype.toString()` throws TypeError'); +}); diff --git a/test/built-ins/Number/prototype/valueOf/not-a-constructor.js b/test/built-ins/Number/prototype/valueOf/not-a-constructor.js index c7ed6746937..017f3fdc5cc 100644 --- a/test/built-ins/Number/prototype/valueOf/not-a-constructor.js +++ b/test/built-ins/Number/prototype/valueOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Number.prototype.valueOf(); -}, '`new Number.prototype.valueOf()` throws TypeError'); +}); diff --git a/test/built-ins/Object/assign/not-a-constructor.js b/test/built-ins/Object/assign/not-a-constructor.js index f2e0f853853..b2cd6390b59 100644 --- a/test/built-ins/Object/assign/not-a-constructor.js +++ b/test/built-ins/Object/assign/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Object.assign), false, 'isConstructor(Object.assi assert.throws(TypeError, () => { new Object.assign({}); -}, '`new Object.assign({})` throws TypeError'); +}); diff --git a/test/built-ins/Object/create/not-a-constructor.js b/test/built-ins/Object/create/not-a-constructor.js index cb5d71fe8eb..3545b5953e6 100644 --- a/test/built-ins/Object/create/not-a-constructor.js +++ b/test/built-ins/Object/create/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Object.create), false, 'isConstructor(Object.crea assert.throws(TypeError, () => { new Object.create(null); -}, '`new Object.create(null)` throws TypeError'); +}); diff --git a/test/built-ins/Object/defineProperties/not-a-constructor.js b/test/built-ins/Object/defineProperties/not-a-constructor.js index c706111611a..540f5668711 100644 --- a/test/built-ins/Object/defineProperties/not-a-constructor.js +++ b/test/built-ins/Object/defineProperties/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.defineProperties({}, {}); -}, '`new Object.defineProperties({}, {})` throws TypeError'); +}); diff --git a/test/built-ins/Object/defineProperty/not-a-constructor.js b/test/built-ins/Object/defineProperty/not-a-constructor.js index 161b10dc1a7..57522e19d49 100644 --- a/test/built-ins/Object/defineProperty/not-a-constructor.js +++ b/test/built-ins/Object/defineProperty/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.defineProperty({}, '', {}); -}, '`new Object.defineProperty({}, \'\', {})` throws TypeError'); +}); diff --git a/test/built-ins/Object/entries/not-a-constructor.js b/test/built-ins/Object/entries/not-a-constructor.js index 534f224b232..ced992ac3e9 100644 --- a/test/built-ins/Object/entries/not-a-constructor.js +++ b/test/built-ins/Object/entries/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Object.entries), false, 'isConstructor(Object.ent assert.throws(TypeError, () => { new Object.entries({}); -}, '`new Object.entries({})` throws TypeError'); +}); diff --git a/test/built-ins/Object/freeze/not-a-constructor.js b/test/built-ins/Object/freeze/not-a-constructor.js index df3fa4f3061..ff9fdbc8a9b 100644 --- a/test/built-ins/Object/freeze/not-a-constructor.js +++ b/test/built-ins/Object/freeze/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Object.freeze), false, 'isConstructor(Object.free assert.throws(TypeError, () => { new Object.freeze({}); -}, '`new Object.freeze({})` throws TypeError'); +}); diff --git a/test/built-ins/Object/fromEntries/not-a-constructor.js b/test/built-ins/Object/fromEntries/not-a-constructor.js index 891f5fd1815..b95219d5e57 100644 --- a/test/built-ins/Object/fromEntries/not-a-constructor.js +++ b/test/built-ins/Object/fromEntries/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Object.fromEntries), false, 'isConstructor(Object assert.throws(TypeError, () => { new Object.fromEntries([]); -}, '`new Object.fromEntries([])` throws TypeError'); +}); diff --git a/test/built-ins/Object/getOwnPropertyDescriptor/not-a-constructor.js b/test/built-ins/Object/getOwnPropertyDescriptor/not-a-constructor.js index 318fd4ce585..72936dd871a 100644 --- a/test/built-ins/Object/getOwnPropertyDescriptor/not-a-constructor.js +++ b/test/built-ins/Object/getOwnPropertyDescriptor/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.getOwnPropertyDescriptor({}, ''); -}, '`new Object.getOwnPropertyDescriptor({}, \'\')` throws TypeError'); +}); diff --git a/test/built-ins/Object/getOwnPropertyDescriptors/not-a-constructor.js b/test/built-ins/Object/getOwnPropertyDescriptors/not-a-constructor.js index a4b02ca412a..422cd3978c1 100644 --- a/test/built-ins/Object/getOwnPropertyDescriptors/not-a-constructor.js +++ b/test/built-ins/Object/getOwnPropertyDescriptors/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.getOwnPropertyDescriptors({}); -}, '`new Object.getOwnPropertyDescriptors({})` throws TypeError'); +}); diff --git a/test/built-ins/Object/getOwnPropertyNames/not-a-constructor.js b/test/built-ins/Object/getOwnPropertyNames/not-a-constructor.js index 48805a1758f..505e3acd045 100644 --- a/test/built-ins/Object/getOwnPropertyNames/not-a-constructor.js +++ b/test/built-ins/Object/getOwnPropertyNames/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.getOwnPropertyNames({}); -}, '`new Object.getOwnPropertyNames({})` throws TypeError'); +}); diff --git a/test/built-ins/Object/getOwnPropertySymbols/not-a-constructor.js b/test/built-ins/Object/getOwnPropertySymbols/not-a-constructor.js index 323b9f6b3fd..bd13826e0ea 100644 --- a/test/built-ins/Object/getOwnPropertySymbols/not-a-constructor.js +++ b/test/built-ins/Object/getOwnPropertySymbols/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.getOwnPropertySymbols({}); -}, '`new Object.getOwnPropertySymbols({})` throws TypeError'); +}); diff --git a/test/built-ins/Object/getPrototypeOf/not-a-constructor.js b/test/built-ins/Object/getPrototypeOf/not-a-constructor.js index 020ebb30bb0..2652dd93c39 100644 --- a/test/built-ins/Object/getPrototypeOf/not-a-constructor.js +++ b/test/built-ins/Object/getPrototypeOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.getPrototypeOf({}); -}, '`new Object.getPrototypeOf({})` throws TypeError'); +}); diff --git a/test/built-ins/Object/hasOwn/not-a-constructor.js b/test/built-ins/Object/hasOwn/not-a-constructor.js index 901d94b32e7..8c4d2cfec20 100644 --- a/test/built-ins/Object/hasOwn/not-a-constructor.js +++ b/test/built-ins/Object/hasOwn/not-a-constructor.js @@ -30,4 +30,4 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.hasOwn(''); -}, '`new Object.hasOwn(\'\')` throws TypeError'); +}); diff --git a/test/built-ins/Object/is/not-a-constructor.js b/test/built-ins/Object/is/not-a-constructor.js index a032f433689..68ee0593f7f 100644 --- a/test/built-ins/Object/is/not-a-constructor.js +++ b/test/built-ins/Object/is/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Object.is), false, 'isConstructor(Object.is) must assert.throws(TypeError, () => { new Object.is(0, 0); -}, '`new Object.is(0, 0)` throws TypeError'); +}); diff --git a/test/built-ins/Object/isExtensible/not-a-constructor.js b/test/built-ins/Object/isExtensible/not-a-constructor.js index 9b50b5854e9..e4508c8c415 100644 --- a/test/built-ins/Object/isExtensible/not-a-constructor.js +++ b/test/built-ins/Object/isExtensible/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Object.isExtensible), false, 'isConstructor(Objec assert.throws(TypeError, () => { new Object.isExtensible({}); -}, '`new Object.isExtensible({})` throws TypeError'); +}); diff --git a/test/built-ins/Object/isFrozen/not-a-constructor.js b/test/built-ins/Object/isFrozen/not-a-constructor.js index 2f5f503a168..239e494464a 100644 --- a/test/built-ins/Object/isFrozen/not-a-constructor.js +++ b/test/built-ins/Object/isFrozen/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Object.isFrozen), false, 'isConstructor(Object.is assert.throws(TypeError, () => { new Object.isFrozen({}); -}, '`new Object.isFrozen({})` throws TypeError'); +}); diff --git a/test/built-ins/Object/isSealed/not-a-constructor.js b/test/built-ins/Object/isSealed/not-a-constructor.js index 8a550989f1b..88e5e91d364 100644 --- a/test/built-ins/Object/isSealed/not-a-constructor.js +++ b/test/built-ins/Object/isSealed/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Object.isSealed), false, 'isConstructor(Object.is assert.throws(TypeError, () => { new Object.isSealed({}); -}, '`new Object.isSealed({})` throws TypeError'); +}); diff --git a/test/built-ins/Object/keys/not-a-constructor.js b/test/built-ins/Object/keys/not-a-constructor.js index b873f8a1b69..ff980ed4990 100644 --- a/test/built-ins/Object/keys/not-a-constructor.js +++ b/test/built-ins/Object/keys/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Object.keys), false, 'isConstructor(Object.keys) assert.throws(TypeError, () => { new Object.keys({}); -}, '`new Object.keys({})` throws TypeError'); +}); diff --git a/test/built-ins/Object/preventExtensions/not-a-constructor.js b/test/built-ins/Object/preventExtensions/not-a-constructor.js index 04d51dc7170..bc4a0d75d98 100644 --- a/test/built-ins/Object/preventExtensions/not-a-constructor.js +++ b/test/built-ins/Object/preventExtensions/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.preventExtensions({}); -}, '`new Object.preventExtensions({})` throws TypeError'); +}); diff --git a/test/built-ins/Object/prototype/hasOwnProperty/not-a-constructor.js b/test/built-ins/Object/prototype/hasOwnProperty/not-a-constructor.js index 2611407aa9b..12749f19ac6 100644 --- a/test/built-ins/Object/prototype/hasOwnProperty/not-a-constructor.js +++ b/test/built-ins/Object/prototype/hasOwnProperty/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.prototype.hasOwnProperty(''); -}, '`new Object.prototype.hasOwnProperty(\'\')` throws TypeError'); +}); diff --git a/test/built-ins/Object/prototype/isPrototypeOf/not-a-constructor.js b/test/built-ins/Object/prototype/isPrototypeOf/not-a-constructor.js index f04cd71fbea..3971a5ad6f0 100644 --- a/test/built-ins/Object/prototype/isPrototypeOf/not-a-constructor.js +++ b/test/built-ins/Object/prototype/isPrototypeOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.prototype.isPrototypeOf({}); -}, '`new Object.prototype.isPrototypeOf({})` throws TypeError'); +}); diff --git a/test/built-ins/Object/prototype/propertyIsEnumerable/not-a-constructor.js b/test/built-ins/Object/prototype/propertyIsEnumerable/not-a-constructor.js index 9006098f1cb..dc347ef17ca 100644 --- a/test/built-ins/Object/prototype/propertyIsEnumerable/not-a-constructor.js +++ b/test/built-ins/Object/prototype/propertyIsEnumerable/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.prototype.propertyIsEnumerable(''); -}, '`new Object.prototype.propertyIsEnumerable(\'\')` throws TypeError'); +}); diff --git a/test/built-ins/Object/prototype/toLocaleString/not-a-constructor.js b/test/built-ins/Object/prototype/toLocaleString/not-a-constructor.js index f5ee600503f..d28d1ae722b 100644 --- a/test/built-ins/Object/prototype/toLocaleString/not-a-constructor.js +++ b/test/built-ins/Object/prototype/toLocaleString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.prototype.toLocaleString(''); -}, '`new Object.prototype.toLocaleString(\'\')` throws TypeError'); +}); diff --git a/test/built-ins/Object/prototype/toString/not-a-constructor.js b/test/built-ins/Object/prototype/toString/not-a-constructor.js index f9f86e4810a..6d6d6b46d44 100644 --- a/test/built-ins/Object/prototype/toString/not-a-constructor.js +++ b/test/built-ins/Object/prototype/toString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.prototype.toString(); -}, '`new Object.prototype.toString()` throws TypeError'); +}); diff --git a/test/built-ins/Object/prototype/valueOf/not-a-constructor.js b/test/built-ins/Object/prototype/valueOf/not-a-constructor.js index 380aa7a29f4..7cf0196d547 100644 --- a/test/built-ins/Object/prototype/valueOf/not-a-constructor.js +++ b/test/built-ins/Object/prototype/valueOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.prototype.valueOf(); -}, '`new Object.prototype.valueOf()` throws TypeError'); +}); diff --git a/test/built-ins/Object/seal/not-a-constructor.js b/test/built-ins/Object/seal/not-a-constructor.js index 1c6e7a00770..9165a469d76 100644 --- a/test/built-ins/Object/seal/not-a-constructor.js +++ b/test/built-ins/Object/seal/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Object.seal), false, 'isConstructor(Object.seal) assert.throws(TypeError, () => { new Object.seal(); -}, '`new Object.seal()` throws TypeError'); +}); diff --git a/test/built-ins/Object/setPrototypeOf/not-a-constructor.js b/test/built-ins/Object/setPrototypeOf/not-a-constructor.js index a411a6312c5..8f4c47a68c0 100644 --- a/test/built-ins/Object/setPrototypeOf/not-a-constructor.js +++ b/test/built-ins/Object/setPrototypeOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Object.setPrototypeOf({}, {}); -}, '`new Object.setPrototypeOf({}, {})` throws TypeError'); +}); diff --git a/test/built-ins/Object/values/not-a-constructor.js b/test/built-ins/Object/values/not-a-constructor.js index a1e909c5f4e..4e3c87c0095 100644 --- a/test/built-ins/Object/values/not-a-constructor.js +++ b/test/built-ins/Object/values/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Object.values), false, 'isConstructor(Object.valu assert.throws(TypeError, () => { new Object.values({}); -}, '`new Object.values({})` throws TypeError'); +}); diff --git a/test/built-ins/Promise/all/not-a-constructor.js b/test/built-ins/Promise/all/not-a-constructor.js index f4dc6ea530b..3f665b34f7e 100644 --- a/test/built-ins/Promise/all/not-a-constructor.js +++ b/test/built-ins/Promise/all/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Promise.all), false, 'isConstructor(Promise.all) assert.throws(TypeError, () => { new Promise.all([]); -}, '`new Promise.all([])` throws TypeError'); +}); diff --git a/test/built-ins/Promise/allSettled/not-a-constructor.js b/test/built-ins/Promise/allSettled/not-a-constructor.js index 69daf018c23..cc6720fbc91 100644 --- a/test/built-ins/Promise/allSettled/not-a-constructor.js +++ b/test/built-ins/Promise/allSettled/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Promise.allSettled), false, 'isConstructor(Promis assert.throws(TypeError, () => { new Promise.allSettled(); -}, '`new Promise.allSettled()` throws TypeError'); +}); diff --git a/test/built-ins/Promise/any/not-a-constructor.js b/test/built-ins/Promise/any/not-a-constructor.js index 85bd0685a9c..be8c1ccd26c 100644 --- a/test/built-ins/Promise/any/not-a-constructor.js +++ b/test/built-ins/Promise/any/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Promise.any), false, 'isConstructor(Promise.any) assert.throws(TypeError, () => { new Promise.any([1]); -}, '`new Promise.any([1])` throws TypeError'); +}); diff --git a/test/built-ins/Promise/create-resolving-functions-reject.js b/test/built-ins/Promise/create-resolving-functions-reject.js index c9df1793b91..ea22df274c6 100644 --- a/test/built-ins/Promise/create-resolving-functions-reject.js +++ b/test/built-ins/Promise/create-resolving-functions-reject.js @@ -23,7 +23,7 @@ Promise.prototype.then = function(resolve, reject) { assert.sameValue(isConstructor(reject), false, 'isConstructor(reject) must return false'); assert.throws(TypeError, () => { new reject(); - }, '`new reject()` throws TypeError'); + }); assert.sameValue(reject.length, 1, 'The value of reject.length is 1'); assert.sameValue(reject.name, '', 'The value of reject.name is ""'); diff --git a/test/built-ins/Promise/create-resolving-functions-resolve.js b/test/built-ins/Promise/create-resolving-functions-resolve.js index 7baab0c50e8..4b9abc431b5 100644 --- a/test/built-ins/Promise/create-resolving-functions-resolve.js +++ b/test/built-ins/Promise/create-resolving-functions-resolve.js @@ -23,7 +23,7 @@ Promise.prototype.then = function(resolve, reject) { assert.sameValue(isConstructor(resolve), false, 'isConstructor(resolve) must return false'); assert.throws(TypeError, () => { new resolve(); - }, '`new resolve()` throws TypeError'); + }); assert.sameValue(resolve.length, 1, 'The value of resolve.length is 1'); assert.sameValue(resolve.name, '', 'The value of resolve.name is ""'); diff --git a/test/built-ins/Promise/executor-function-not-a-constructor.js b/test/built-ins/Promise/executor-function-not-a-constructor.js index 2db5ff2a97a..ac7beec3901 100644 --- a/test/built-ins/Promise/executor-function-not-a-constructor.js +++ b/test/built-ins/Promise/executor-function-not-a-constructor.js @@ -30,5 +30,5 @@ assert.sameValue(isConstructor(executorFunction), false, 'isConstructor(executor assert.throws(TypeError, () => { new executorFunction(); -}, '`new executorFunction()` throws TypeError'); +}); diff --git a/test/built-ins/Promise/prototype/catch/not-a-constructor.js b/test/built-ins/Promise/prototype/catch/not-a-constructor.js index 2e56c34ba55..32e04e87130 100644 --- a/test/built-ins/Promise/prototype/catch/not-a-constructor.js +++ b/test/built-ins/Promise/prototype/catch/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let p = new Promise(() => {}); new p.catch(); -}, '`let p = new Promise(() => {}); new p.catch()` throws TypeError'); +}); diff --git a/test/built-ins/Promise/prototype/finally/invokes-then-with-function.js b/test/built-ins/Promise/prototype/finally/invokes-then-with-function.js index 11fc3ff0bab..025d12d577e 100644 --- a/test/built-ins/Promise/prototype/finally/invokes-then-with-function.js +++ b/test/built-ins/Promise/prototype/finally/invokes-then-with-function.js @@ -48,7 +48,7 @@ assert.sameValue(resolve.name, '', 'The value of resolve.name is ""'); assert.sameValue(isConstructor(resolve), false, 'isConstructor(resolve) must return false'); assert.throws(TypeError, () => { new resolve(); -}, '`new resolve()` throws TypeError'); +}); assert.sameValue( @@ -62,6 +62,6 @@ assert.sameValue(reject.name, '', 'The value of reject.name is ""'); assert.sameValue(isConstructor(reject), false, 'isConstructor(reject) must return false'); assert.throws(TypeError, () => { new reject(); -}, '`new reject()` throws TypeError'); +}); assert.sameValue(result, returnValue, 'The value of `result` is expected to equal the value of returnValue'); diff --git a/test/built-ins/Promise/prototype/finally/not-a-constructor.js b/test/built-ins/Promise/prototype/finally/not-a-constructor.js index edb3f988184..af6abb327cd 100644 --- a/test/built-ins/Promise/prototype/finally/not-a-constructor.js +++ b/test/built-ins/Promise/prototype/finally/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let p = new Promise(() => {}); new p.finally(); -}, '`let p = new Promise(() => {}); new p.finally()` throws TypeError'); +}); diff --git a/test/built-ins/Promise/prototype/finally/rejected-observable-then-calls-argument.js b/test/built-ins/Promise/prototype/finally/rejected-observable-then-calls-argument.js index 76ba16dfaf1..1d9bacc8aac 100644 --- a/test/built-ins/Promise/prototype/finally/rejected-observable-then-calls-argument.js +++ b/test/built-ins/Promise/prototype/finally/rejected-observable-then-calls-argument.js @@ -58,7 +58,7 @@ Promise.prototype.then = function(resolve, reject) { assert.sameValue(isConstructor(reject), false, 'isConstructor(reject) must return false'); assert.throws(TypeError, () => { new reject(); - }, '`new reject()` throws TypeError'); + }); assert.sameValue(arguments.length, 2, '`then` invoked with two arguments'); } diff --git a/test/built-ins/Promise/prototype/finally/resolved-observable-then-calls-argument.js b/test/built-ins/Promise/prototype/finally/resolved-observable-then-calls-argument.js index 3749eeac125..aab2fd16455 100644 --- a/test/built-ins/Promise/prototype/finally/resolved-observable-then-calls-argument.js +++ b/test/built-ins/Promise/prototype/finally/resolved-observable-then-calls-argument.js @@ -34,7 +34,7 @@ Promise.prototype.then = function(resolve) { assert.sameValue(isConstructor(resolve), false, 'isConstructor(resolve) must return false'); assert.throws(TypeError, () => { new resolve(); - }, '`new resolve()` throws TypeError'); + }); assert.sameValue( resolve.length, diff --git a/test/built-ins/Promise/prototype/then/not-a-constructor.js b/test/built-ins/Promise/prototype/then/not-a-constructor.js index d961a6513b4..2e5e01c4638 100644 --- a/test/built-ins/Promise/prototype/then/not-a-constructor.js +++ b/test/built-ins/Promise/prototype/then/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let p = new Promise(() => {}); new p.then(); -}, '`let p = new Promise(() => {}); new p.then()` throws TypeError'); +}); diff --git a/test/built-ins/Promise/race/not-a-constructor.js b/test/built-ins/Promise/race/not-a-constructor.js index de1ee65e78e..50bf5148634 100644 --- a/test/built-ins/Promise/race/not-a-constructor.js +++ b/test/built-ins/Promise/race/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Promise.race), false, 'isConstructor(Promise.race assert.throws(TypeError, () => { new Promise.race([]); -}, '`new Promise.race([])` throws TypeError'); +}); diff --git a/test/built-ins/Promise/reject/not-a-constructor.js b/test/built-ins/Promise/reject/not-a-constructor.js index 2b394dc1e39..1a825f02ed1 100644 --- a/test/built-ins/Promise/reject/not-a-constructor.js +++ b/test/built-ins/Promise/reject/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Promise.reject), false, 'isConstructor(Promise.re assert.throws(TypeError, () => { new Promise.reject(); -}, '`new Promise.reject()` throws TypeError'); +}); diff --git a/test/built-ins/Promise/resolve/not-a-constructor.js b/test/built-ins/Promise/resolve/not-a-constructor.js index a75ccd6ad2b..253d1ec30ee 100644 --- a/test/built-ins/Promise/resolve/not-a-constructor.js +++ b/test/built-ins/Promise/resolve/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Promise.resolve), false, 'isConstructor(Promise.r assert.throws(TypeError, () => { new Promise.resolve(); -}, '`new Promise.resolve()` throws TypeError'); +}); diff --git a/test/built-ins/Proxy/create-target-is-not-a-constructor.js b/test/built-ins/Proxy/create-target-is-not-a-constructor.js index a07fad743f7..10909767c82 100644 --- a/test/built-ins/Proxy/create-target-is-not-a-constructor.js +++ b/test/built-ins/Proxy/create-target-is-not-a-constructor.js @@ -28,4 +28,4 @@ proxy(); // the Proxy object is callable assert.sameValue(isConstructor(proxy), false, 'isConstructor(proxy) must return false'); assert.throws(TypeError, () => { new proxy(); -}, '`new proxy()` throws TypeError'); +}); diff --git a/test/built-ins/Proxy/revocable/not-a-constructor.js b/test/built-ins/Proxy/revocable/not-a-constructor.js index 239917f51eb..f3ad37ca7ba 100644 --- a/test/built-ins/Proxy/revocable/not-a-constructor.js +++ b/test/built-ins/Proxy/revocable/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Proxy.revocable), false, 'isConstructor(Proxy.rev assert.throws(TypeError, () => { new Proxy.revocable({}, {}); -}, '`new Proxy.revocable({}, {})` throws TypeError'); +}); diff --git a/test/built-ins/Proxy/revocable/revocation-function-not-a-constructor.js b/test/built-ins/Proxy/revocable/revocation-function-not-a-constructor.js index d8cbfc37a60..dc11ab26861 100644 --- a/test/built-ins/Proxy/revocable/revocation-function-not-a-constructor.js +++ b/test/built-ins/Proxy/revocable/revocation-function-not-a-constructor.js @@ -23,6 +23,6 @@ assert.sameValue( assert.sameValue(isConstructor(revocationFunction), false, 'isConstructor(revocationFunction) must return false'); assert.throws(TypeError, () => { new revocationFunction(); -}, '`new revocationFunction()` throws TypeError'); +}); diff --git a/test/built-ins/Reflect/apply/not-a-constructor.js b/test/built-ins/Reflect/apply/not-a-constructor.js index b2811c8e564..207d36eab57 100644 --- a/test/built-ins/Reflect/apply/not-a-constructor.js +++ b/test/built-ins/Reflect/apply/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Reflect.apply), false, 'isConstructor(Reflect.app assert.throws(TypeError, () => { new Reflect.apply(() => {}, undefined, []); -}, '`new Reflect.apply(() => {}, undefined, [])` throws TypeError'); +}); diff --git a/test/built-ins/Reflect/construct/not-a-constructor.js b/test/built-ins/Reflect/construct/not-a-constructor.js index e43abfe6dca..bd336869834 100644 --- a/test/built-ins/Reflect/construct/not-a-constructor.js +++ b/test/built-ins/Reflect/construct/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Reflect.construct), false, 'isConstructor(Reflect assert.throws(TypeError, () => { new Reflect.construct(Function, [], Function); -}, '`new Reflect.construct(Function, [], Function)` throws TypeError'); +}); diff --git a/test/built-ins/Reflect/defineProperty/not-a-constructor.js b/test/built-ins/Reflect/defineProperty/not-a-constructor.js index a65da86ecd3..1db37c301ee 100644 --- a/test/built-ins/Reflect/defineProperty/not-a-constructor.js +++ b/test/built-ins/Reflect/defineProperty/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Reflect.defineProperty({}, ''); -}, '`new Reflect.defineProperty({}, \'\')` throws TypeError'); +}); diff --git a/test/built-ins/Reflect/deleteProperty/not-a-constructor.js b/test/built-ins/Reflect/deleteProperty/not-a-constructor.js index 6fb9dfb569d..3b79fa5bbf4 100644 --- a/test/built-ins/Reflect/deleteProperty/not-a-constructor.js +++ b/test/built-ins/Reflect/deleteProperty/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Reflect.deleteProperty({}, ''); -}, '`new Reflect.deleteProperty({}, \'\')` throws TypeError'); +}); diff --git a/test/built-ins/Reflect/get/not-a-constructor.js b/test/built-ins/Reflect/get/not-a-constructor.js index 9f793ba1749..7bd375557e3 100644 --- a/test/built-ins/Reflect/get/not-a-constructor.js +++ b/test/built-ins/Reflect/get/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Reflect.get), false, 'isConstructor(Reflect.get) assert.throws(TypeError, () => { new Reflect.get({}, ''); -}, '`new Reflect.get({}, \'\')` throws TypeError'); +}); diff --git a/test/built-ins/Reflect/getOwnPropertyDescriptor/not-a-constructor.js b/test/built-ins/Reflect/getOwnPropertyDescriptor/not-a-constructor.js index cccc4051178..e05411bf67b 100644 --- a/test/built-ins/Reflect/getOwnPropertyDescriptor/not-a-constructor.js +++ b/test/built-ins/Reflect/getOwnPropertyDescriptor/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Reflect.getOwnPropertyDescriptor({}, ''); -}, '`new Reflect.getOwnPropertyDescriptor({}, \'\')` throws TypeError'); +}); diff --git a/test/built-ins/Reflect/getPrototypeOf/not-a-constructor.js b/test/built-ins/Reflect/getPrototypeOf/not-a-constructor.js index bcb15a7343a..b6cd01f11e2 100644 --- a/test/built-ins/Reflect/getPrototypeOf/not-a-constructor.js +++ b/test/built-ins/Reflect/getPrototypeOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Reflect.getPrototypeOf({}); -}, '`new Reflect.getPrototypeOf({})` throws TypeError'); +}); diff --git a/test/built-ins/Reflect/has/not-a-constructor.js b/test/built-ins/Reflect/has/not-a-constructor.js index c91a336f086..f397677e490 100644 --- a/test/built-ins/Reflect/has/not-a-constructor.js +++ b/test/built-ins/Reflect/has/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Reflect.has), false, 'isConstructor(Reflect.has) assert.throws(TypeError, () => { new Reflect.has(); -}, '`new Reflect.has()` throws TypeError'); +}); diff --git a/test/built-ins/Reflect/isExtensible/not-a-constructor.js b/test/built-ins/Reflect/isExtensible/not-a-constructor.js index 3b572d8f706..9d443aac1bd 100644 --- a/test/built-ins/Reflect/isExtensible/not-a-constructor.js +++ b/test/built-ins/Reflect/isExtensible/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Reflect.isExtensible), false, 'isConstructor(Refl assert.throws(TypeError, () => { new Reflect.isExtensible({}); -}, '`new Reflect.isExtensible({})` throws TypeError'); +}); diff --git a/test/built-ins/Reflect/ownKeys/not-a-constructor.js b/test/built-ins/Reflect/ownKeys/not-a-constructor.js index d4c2f374bd8..949ee3fa74b 100644 --- a/test/built-ins/Reflect/ownKeys/not-a-constructor.js +++ b/test/built-ins/Reflect/ownKeys/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Reflect.ownKeys), false, 'isConstructor(Reflect.o assert.throws(TypeError, () => { new Reflect.ownKeys({}); -}, '`new Reflect.ownKeys({})` throws TypeError'); +}); diff --git a/test/built-ins/Reflect/preventExtensions/not-a-constructor.js b/test/built-ins/Reflect/preventExtensions/not-a-constructor.js index e5ffeddf094..80d1761a433 100644 --- a/test/built-ins/Reflect/preventExtensions/not-a-constructor.js +++ b/test/built-ins/Reflect/preventExtensions/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Reflect.preventExtensions({}); -}, '`new Reflect.preventExtensions({})` throws TypeError'); +}); diff --git a/test/built-ins/Reflect/set/not-a-constructor.js b/test/built-ins/Reflect/set/not-a-constructor.js index 4a2aed58c80..f7e32f82303 100644 --- a/test/built-ins/Reflect/set/not-a-constructor.js +++ b/test/built-ins/Reflect/set/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Reflect.set), false, 'isConstructor(Reflect.set) assert.throws(TypeError, () => { new Reflect.set({}); -}, '`new Reflect.set({})` throws TypeError'); +}); diff --git a/test/built-ins/Reflect/setPrototypeOf/not-a-constructor.js b/test/built-ins/Reflect/setPrototypeOf/not-a-constructor.js index f6e35bbb4f5..c68b68c2d8f 100644 --- a/test/built-ins/Reflect/setPrototypeOf/not-a-constructor.js +++ b/test/built-ins/Reflect/setPrototypeOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new Reflect.setPrototypeOf({}, {}); -}, '`new Reflect.setPrototypeOf({}, {})` throws TypeError'); +}); diff --git a/test/built-ins/RegExp/prototype/Symbol.match/not-a-constructor.js b/test/built-ins/RegExp/prototype/Symbol.match/not-a-constructor.js index 55a8d64a067..a3a45fcc04f 100644 --- a/test/built-ins/RegExp/prototype/Symbol.match/not-a-constructor.js +++ b/test/built-ins/RegExp/prototype/Symbol.match/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let re = new RegExp(''); new re[Symbol.match](); -}, '`let re = new RegExp(\'\'); new re[Symbol.match]()` throws TypeError'); +}); diff --git a/test/built-ins/RegExp/prototype/Symbol.matchAll/not-a-constructor.js b/test/built-ins/RegExp/prototype/Symbol.matchAll/not-a-constructor.js index a9ce4c33137..5d0a82c9886 100644 --- a/test/built-ins/RegExp/prototype/Symbol.matchAll/not-a-constructor.js +++ b/test/built-ins/RegExp/prototype/Symbol.matchAll/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let re = new RegExp(''); new re[Symbol.matchAll](); -}, '`let re = new RegExp(\'\'); new re[Symbol.matchAll]()` throws TypeError'); +}); diff --git a/test/built-ins/RegExp/prototype/Symbol.replace/not-a-constructor.js b/test/built-ins/RegExp/prototype/Symbol.replace/not-a-constructor.js index 27efa6ba944..69593a44eab 100644 --- a/test/built-ins/RegExp/prototype/Symbol.replace/not-a-constructor.js +++ b/test/built-ins/RegExp/prototype/Symbol.replace/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let re = new RegExp(''); new re[Symbol.replace](); -}, '`let re = new RegExp(\'\'); new re[Symbol.replace]()` throws TypeError'); +}); diff --git a/test/built-ins/RegExp/prototype/Symbol.search/not-a-constructor.js b/test/built-ins/RegExp/prototype/Symbol.search/not-a-constructor.js index 40bcd94edc0..a0d17380d6e 100644 --- a/test/built-ins/RegExp/prototype/Symbol.search/not-a-constructor.js +++ b/test/built-ins/RegExp/prototype/Symbol.search/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let re = new RegExp(''); new re[Symbol.search](); -}, '`let re = new RegExp(\'\'); new re[Symbol.search]()` throws TypeError'); +}); diff --git a/test/built-ins/RegExp/prototype/Symbol.split/not-a-constructor.js b/test/built-ins/RegExp/prototype/Symbol.split/not-a-constructor.js index 04d5ab6b2f3..0c659cbf758 100644 --- a/test/built-ins/RegExp/prototype/Symbol.split/not-a-constructor.js +++ b/test/built-ins/RegExp/prototype/Symbol.split/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let re = new RegExp(''); new re[Symbol.split](); -}, '`let re = new RegExp(\'\'); new re[Symbol.split]()` throws TypeError'); +}); diff --git a/test/built-ins/RegExp/prototype/exec/not-a-constructor.js b/test/built-ins/RegExp/prototype/exec/not-a-constructor.js index 580c05ab339..781c13f761a 100644 --- a/test/built-ins/RegExp/prototype/exec/not-a-constructor.js +++ b/test/built-ins/RegExp/prototype/exec/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let re = new RegExp(''); new re.exec(); -}, '`let re = new RegExp(\'\'); new re.exec()` throws TypeError'); +}); diff --git a/test/built-ins/RegExp/prototype/test/not-a-constructor.js b/test/built-ins/RegExp/prototype/test/not-a-constructor.js index a32652cbb77..21a1745a2eb 100644 --- a/test/built-ins/RegExp/prototype/test/not-a-constructor.js +++ b/test/built-ins/RegExp/prototype/test/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let re = new RegExp(''); new re.test(); -}, '`let re = new RegExp(\'\'); new re.test()` throws TypeError'); +}); diff --git a/test/built-ins/RegExp/prototype/toString/not-a-constructor.js b/test/built-ins/RegExp/prototype/toString/not-a-constructor.js index 44e260bba64..1b3a48347b8 100644 --- a/test/built-ins/RegExp/prototype/toString/not-a-constructor.js +++ b/test/built-ins/RegExp/prototype/toString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let re = new RegExp(''); new re.toString(); -}, '`let re = new RegExp(\'\'); new re.toString()` throws TypeError'); +}); diff --git a/test/built-ins/Set/prototype/Symbol.iterator/not-a-constructor.js b/test/built-ins/Set/prototype/Symbol.iterator/not-a-constructor.js index 42a7102d3ec..fff2ddaeb50 100644 --- a/test/built-ins/Set/prototype/Symbol.iterator/not-a-constructor.js +++ b/test/built-ins/Set/prototype/Symbol.iterator/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let s = new Set([]); new s[Symbol.iterator](); -}, '`let s = new Set([]); new s[Symbol.iterator]()` throws TypeError'); +}); diff --git a/test/built-ins/Set/prototype/add/not-a-constructor.js b/test/built-ins/Set/prototype/add/not-a-constructor.js index 382480da160..6af1286e5de 100644 --- a/test/built-ins/Set/prototype/add/not-a-constructor.js +++ b/test/built-ins/Set/prototype/add/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Set.prototype.add), false, 'isConstructor(Set.pro assert.throws(TypeError, () => { let s = new Set([]); new s.add(); -}, '`let s = new Set([]); new s.add()` throws TypeError'); +}); diff --git a/test/built-ins/Set/prototype/clear/not-a-constructor.js b/test/built-ins/Set/prototype/clear/not-a-constructor.js index a77944c3c10..7ae392a4239 100644 --- a/test/built-ins/Set/prototype/clear/not-a-constructor.js +++ b/test/built-ins/Set/prototype/clear/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Set.prototype.clear), false, 'isConstructor(Set.p assert.throws(TypeError, () => { let s = new Set([]); new s.clear(); -}, '`let s = new Set([]); new s.clear()` throws TypeError'); +}); diff --git a/test/built-ins/Set/prototype/delete/not-a-constructor.js b/test/built-ins/Set/prototype/delete/not-a-constructor.js index 2f8af10509d..8f319be12b5 100644 --- a/test/built-ins/Set/prototype/delete/not-a-constructor.js +++ b/test/built-ins/Set/prototype/delete/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Set.prototype.delete), false, 'isConstructor(Set. assert.throws(TypeError, () => { let s = new Set([]); new s.delete(); -}, '`let s = new Set([]); new s.delete()` throws TypeError'); +}); diff --git a/test/built-ins/Set/prototype/difference/not-a-constructor.js b/test/built-ins/Set/prototype/difference/not-a-constructor.js index dcfaf847653..edee9edd688 100644 --- a/test/built-ins/Set/prototype/difference/not-a-constructor.js +++ b/test/built-ins/Set/prototype/difference/not-a-constructor.js @@ -17,6 +17,4 @@ assert.throws( TypeError, () => { new Set.prototype.difference(); - }, - "`new Set.prototype.difference()` throws TypeError" -); + }); diff --git a/test/built-ins/Set/prototype/entries/not-a-constructor.js b/test/built-ins/Set/prototype/entries/not-a-constructor.js index 2bf6867dac4..da2e49f84f2 100644 --- a/test/built-ins/Set/prototype/entries/not-a-constructor.js +++ b/test/built-ins/Set/prototype/entries/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let s = new Set([]); new s.entries(); -}, '`let s = new Set([]); new s.entries()` throws TypeError'); +}); diff --git a/test/built-ins/Set/prototype/forEach/not-a-constructor.js b/test/built-ins/Set/prototype/forEach/not-a-constructor.js index d62c98fa41b..3f54ab58158 100644 --- a/test/built-ins/Set/prototype/forEach/not-a-constructor.js +++ b/test/built-ins/Set/prototype/forEach/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let s = new Set([]); new s.forEach(() => {}); -}, '`let s = new Set([]); new s.forEach(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/Set/prototype/has/not-a-constructor.js b/test/built-ins/Set/prototype/has/not-a-constructor.js index 6a3d35e64e8..fcfeaa37bad 100644 --- a/test/built-ins/Set/prototype/has/not-a-constructor.js +++ b/test/built-ins/Set/prototype/has/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Set.prototype.has), false, 'isConstructor(Set.pro assert.throws(TypeError, () => { let s = new Set([]); new s.has(); -}, '`let s = new Set([]); new s.has()` throws TypeError'); +}); diff --git a/test/built-ins/Set/prototype/intersection/not-a-constructor.js b/test/built-ins/Set/prototype/intersection/not-a-constructor.js index 44c614f88bf..87776528c70 100644 --- a/test/built-ins/Set/prototype/intersection/not-a-constructor.js +++ b/test/built-ins/Set/prototype/intersection/not-a-constructor.js @@ -17,6 +17,4 @@ assert.throws( TypeError, () => { new Set.prototype.intersection(); - }, - "`new Set.prototype.intersection()` throws TypeError" -); + }); diff --git a/test/built-ins/Set/prototype/isDisjointFrom/not-a-constructor.js b/test/built-ins/Set/prototype/isDisjointFrom/not-a-constructor.js index 98345917c3b..466775874fa 100644 --- a/test/built-ins/Set/prototype/isDisjointFrom/not-a-constructor.js +++ b/test/built-ins/Set/prototype/isDisjointFrom/not-a-constructor.js @@ -17,6 +17,4 @@ assert.throws( TypeError, () => { new Set.prototype.isDisjointFrom(); - }, - "`new Set.prototype.isDisjointFrom()` throws TypeError" -); + }); diff --git a/test/built-ins/Set/prototype/isSubsetOf/not-a-constructor.js b/test/built-ins/Set/prototype/isSubsetOf/not-a-constructor.js index 27f90f1ac65..35beb587011 100644 --- a/test/built-ins/Set/prototype/isSubsetOf/not-a-constructor.js +++ b/test/built-ins/Set/prototype/isSubsetOf/not-a-constructor.js @@ -17,6 +17,4 @@ assert.throws( TypeError, () => { new Set.prototype.isSubsetOf(); - }, - "`new Set.prototype.isSubsetOf()` throws TypeError" -); + }); diff --git a/test/built-ins/Set/prototype/isSupersetOf/not-a-constructor.js b/test/built-ins/Set/prototype/isSupersetOf/not-a-constructor.js index 924cea71ca7..69d9668ff59 100644 --- a/test/built-ins/Set/prototype/isSupersetOf/not-a-constructor.js +++ b/test/built-ins/Set/prototype/isSupersetOf/not-a-constructor.js @@ -17,6 +17,4 @@ assert.throws( TypeError, () => { new Set.prototype.isSupersetOf(); - }, - "`new Set.prototype.isSupersetOf()` throws TypeError" -); + }); diff --git a/test/built-ins/Set/prototype/symmetricDifference/not-a-constructor.js b/test/built-ins/Set/prototype/symmetricDifference/not-a-constructor.js index 81e19f00e3e..53b5a0f09e6 100644 --- a/test/built-ins/Set/prototype/symmetricDifference/not-a-constructor.js +++ b/test/built-ins/Set/prototype/symmetricDifference/not-a-constructor.js @@ -17,6 +17,4 @@ assert.throws( TypeError, () => { new Set.prototype.symmetricDifference(); - }, - "`new Set.prototype.symmetricDifference()` throws TypeError" -); + }); diff --git a/test/built-ins/Set/prototype/union/not-a-constructor.js b/test/built-ins/Set/prototype/union/not-a-constructor.js index d27e4cda5e1..f8449cbb224 100644 --- a/test/built-ins/Set/prototype/union/not-a-constructor.js +++ b/test/built-ins/Set/prototype/union/not-a-constructor.js @@ -17,6 +17,4 @@ assert.throws( TypeError, () => { new Set.prototype.union(); - }, - "`new Set.prototype.union()` throws TypeError" -); + }); diff --git a/test/built-ins/Set/prototype/values/not-a-constructor.js b/test/built-ins/Set/prototype/values/not-a-constructor.js index 8eb928e23c0..18c787ea95c 100644 --- a/test/built-ins/Set/prototype/values/not-a-constructor.js +++ b/test/built-ins/Set/prototype/values/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Set.prototype.values), false, 'isConstructor(Set. assert.throws(TypeError, () => { let s = new Set([]); new s.values(); -}, '`let s = new Set([]); new s.values()` throws TypeError'); +}); diff --git a/test/built-ins/ShadowRealm/prototype/evaluate/not-constructor.js b/test/built-ins/ShadowRealm/prototype/evaluate/not-constructor.js index 6a2c3fb78ed..24361fec2a1 100644 --- a/test/built-ins/ShadowRealm/prototype/evaluate/not-constructor.js +++ b/test/built-ins/ShadowRealm/prototype/evaluate/not-constructor.js @@ -22,7 +22,7 @@ assert.sameValue( assert.throws(TypeError, () => { new ShadowRealm.prototype.evaluate(""); -}, '`new ShadowRealm.prototype.evaluate("")` throws TypeError'); +}); const r = new ShadowRealm(); r.evaluate('globalThis.x = 0'); diff --git a/test/built-ins/SharedArrayBuffer/prototype/slice/not-a-constructor.js b/test/built-ins/SharedArrayBuffer/prototype/slice/not-a-constructor.js index 91ff6371cdc..5babba95f1a 100644 --- a/test/built-ins/SharedArrayBuffer/prototype/slice/not-a-constructor.js +++ b/test/built-ins/SharedArrayBuffer/prototype/slice/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let sab = new SharedArrayBuffer(1); new sab.slice(); -}, '`let sab = new SharedArrayBuffer(1); new sab.slice()` throws TypeError'); +}); diff --git a/test/built-ins/String/fromCharCode/not-a-constructor.js b/test/built-ins/String/fromCharCode/not-a-constructor.js index 1d83e36583a..68ed625313f 100644 --- a/test/built-ins/String/fromCharCode/not-a-constructor.js +++ b/test/built-ins/String/fromCharCode/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(String.fromCharCode), false, 'isConstructor(Strin assert.throws(TypeError, () => { new String.fromCharCode(); -}, '`new String.fromCharCode()` throws TypeError'); +}); diff --git a/test/built-ins/String/fromCodePoint/not-a-constructor.js b/test/built-ins/String/fromCodePoint/not-a-constructor.js index 15e5425b9fa..d17d734f632 100644 --- a/test/built-ins/String/fromCodePoint/not-a-constructor.js +++ b/test/built-ins/String/fromCodePoint/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(String.fromCodePoint), false, 'isConstructor(Stri assert.throws(TypeError, () => { new String.fromCodePoint(); -}, '`new String.fromCodePoint()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/Symbol.iterator/not-a-constructor.js b/test/built-ins/String/prototype/Symbol.iterator/not-a-constructor.js index 0bcce071dc6..07770bade2e 100644 --- a/test/built-ins/String/prototype/Symbol.iterator/not-a-constructor.js +++ b/test/built-ins/String/prototype/Symbol.iterator/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype[Symbol.iterator](); -}, '`new String.prototype[Symbol.iterator]()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/at/index-non-numeric-argument-tointeger-invalid.js b/test/built-ins/String/prototype/at/index-non-numeric-argument-tointeger-invalid.js index 387fded1093..6d15cdb3f6a 100644 --- a/test/built-ins/String/prototype/at/index-non-numeric-argument-tointeger-invalid.js +++ b/test/built-ins/String/prototype/at/index-non-numeric-argument-tointeger-invalid.js @@ -17,4 +17,4 @@ let s = "01"; assert.throws(TypeError, () => { s.at(Symbol()); -}, '`s.at(Symbol())` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/at/return-abrupt-from-this.js b/test/built-ins/String/prototype/at/return-abrupt-from-this.js index 0908f06f057..7b960ddaa62 100644 --- a/test/built-ins/String/prototype/at/return-abrupt-from-this.js +++ b/test/built-ins/String/prototype/at/return-abrupt-from-this.js @@ -15,8 +15,8 @@ assert.sameValue(typeof String.prototype.at, 'function'); assert.throws(TypeError, () => { String.prototype.at.call(undefined); -}, '`String.prototype.at.call(undefined)` throws TypeError'); +}); assert.throws(TypeError, () => { String.prototype.at.call(null); -}, '`String.prototype.at.call(null)` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/charAt/not-a-constructor.js b/test/built-ins/String/prototype/charAt/not-a-constructor.js index 55136b10528..3cf9f8fef97 100644 --- a/test/built-ins/String/prototype/charAt/not-a-constructor.js +++ b/test/built-ins/String/prototype/charAt/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.charAt(); -}, '`new String.prototype.charAt()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/charCodeAt/not-a-constructor.js b/test/built-ins/String/prototype/charCodeAt/not-a-constructor.js index d0458dd12e8..91222c3b13c 100644 --- a/test/built-ins/String/prototype/charCodeAt/not-a-constructor.js +++ b/test/built-ins/String/prototype/charCodeAt/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.charCodeAt(); -}, '`new String.prototype.charCodeAt()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/codePointAt/not-a-constructor.js b/test/built-ins/String/prototype/codePointAt/not-a-constructor.js index f38dbb653fd..037a37d6779 100644 --- a/test/built-ins/String/prototype/codePointAt/not-a-constructor.js +++ b/test/built-ins/String/prototype/codePointAt/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.codePointAt(); -}, '`new String.prototype.codePointAt()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/concat/not-a-constructor.js b/test/built-ins/String/prototype/concat/not-a-constructor.js index e6306ef9fff..8dccce7ec21 100644 --- a/test/built-ins/String/prototype/concat/not-a-constructor.js +++ b/test/built-ins/String/prototype/concat/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.concat(); -}, '`new String.prototype.concat()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/endsWith/not-a-constructor.js b/test/built-ins/String/prototype/endsWith/not-a-constructor.js index c4280c5c019..3b22bcd96dd 100644 --- a/test/built-ins/String/prototype/endsWith/not-a-constructor.js +++ b/test/built-ins/String/prototype/endsWith/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.endsWith(); -}, '`new String.prototype.endsWith()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/includes/not-a-constructor.js b/test/built-ins/String/prototype/includes/not-a-constructor.js index c8c5a9692b9..d28f4108dc9 100644 --- a/test/built-ins/String/prototype/includes/not-a-constructor.js +++ b/test/built-ins/String/prototype/includes/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.includes(1); -}, '`new String.prototype.includes(1)` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/indexOf/not-a-constructor.js b/test/built-ins/String/prototype/indexOf/not-a-constructor.js index 02c05b0638e..fbef399c5db 100644 --- a/test/built-ins/String/prototype/indexOf/not-a-constructor.js +++ b/test/built-ins/String/prototype/indexOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.indexOf(); -}, '`new String.prototype.indexOf()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/isWellFormed/not-a-constructor.js b/test/built-ins/String/prototype/isWellFormed/not-a-constructor.js index 26e25aa5fcd..37e0d5e31c4 100644 --- a/test/built-ins/String/prototype/isWellFormed/not-a-constructor.js +++ b/test/built-ins/String/prototype/isWellFormed/not-a-constructor.js @@ -29,4 +29,4 @@ assert.sameValue( assert.throws(TypeError, function () { new String.prototype.isWellFormed(); -}, '`new String.prototype.isWellFormed()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/isWellFormed/return-abrupt-from-this.js b/test/built-ins/String/prototype/isWellFormed/return-abrupt-from-this.js index 03ea080bdf1..8c011a8d58a 100644 --- a/test/built-ins/String/prototype/isWellFormed/return-abrupt-from-this.js +++ b/test/built-ins/String/prototype/isWellFormed/return-abrupt-from-this.js @@ -15,8 +15,8 @@ assert.sameValue(typeof String.prototype.isWellFormed, 'function'); assert.throws(TypeError, function () { String.prototype.isWellFormed.call(undefined); -}, '`String.prototype.isWellFormed.call(undefined)` throws TypeError'); +}); assert.throws(TypeError, function () { String.prototype.isWellFormed.call(null); -}, '`String.prototype.isWellFormed.call(null)` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/lastIndexOf/not-a-constructor.js b/test/built-ins/String/prototype/lastIndexOf/not-a-constructor.js index 3613f4fb6ea..86db860e8fc 100644 --- a/test/built-ins/String/prototype/lastIndexOf/not-a-constructor.js +++ b/test/built-ins/String/prototype/lastIndexOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.lastIndexOf(); -}, '`new String.prototype.lastIndexOf()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/localeCompare/not-a-constructor.js b/test/built-ins/String/prototype/localeCompare/not-a-constructor.js index 4d87248ae0a..42700c60b93 100644 --- a/test/built-ins/String/prototype/localeCompare/not-a-constructor.js +++ b/test/built-ins/String/prototype/localeCompare/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.localeCompare(); -}, '`new String.prototype.localeCompare()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/match/not-a-constructor.js b/test/built-ins/String/prototype/match/not-a-constructor.js index 3b79a08a5f8..809d2fe237c 100644 --- a/test/built-ins/String/prototype/match/not-a-constructor.js +++ b/test/built-ins/String/prototype/match/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.match(); -}, '`new String.prototype.match()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/matchAll/not-a-constructor.js b/test/built-ins/String/prototype/matchAll/not-a-constructor.js index aa6b43ed32c..34039fe2abd 100644 --- a/test/built-ins/String/prototype/matchAll/not-a-constructor.js +++ b/test/built-ins/String/prototype/matchAll/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.matchAll(); -}, '`new String.prototype.matchAll()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/normalize/not-a-constructor.js b/test/built-ins/String/prototype/normalize/not-a-constructor.js index b854e495084..68d380b55cf 100644 --- a/test/built-ins/String/prototype/normalize/not-a-constructor.js +++ b/test/built-ins/String/prototype/normalize/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.normalize(); -}, '`new String.prototype.normalize()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/padEnd/not-a-constructor.js b/test/built-ins/String/prototype/padEnd/not-a-constructor.js index ad3862c1e5c..03bbf57f1e7 100644 --- a/test/built-ins/String/prototype/padEnd/not-a-constructor.js +++ b/test/built-ins/String/prototype/padEnd/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.padEnd(); -}, '`new String.prototype.padEnd()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/padStart/not-a-constructor.js b/test/built-ins/String/prototype/padStart/not-a-constructor.js index d236a688265..9b583d3e798 100644 --- a/test/built-ins/String/prototype/padStart/not-a-constructor.js +++ b/test/built-ins/String/prototype/padStart/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.padStart(); -}, '`new String.prototype.padStart()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/repeat/not-a-constructor.js b/test/built-ins/String/prototype/repeat/not-a-constructor.js index d0a4b17a872..5e3556a4311 100644 --- a/test/built-ins/String/prototype/repeat/not-a-constructor.js +++ b/test/built-ins/String/prototype/repeat/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.repeat(); -}, '`new String.prototype.repeat()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/replace/not-a-constructor.js b/test/built-ins/String/prototype/replace/not-a-constructor.js index dff9afadd91..9307071d1c7 100644 --- a/test/built-ins/String/prototype/replace/not-a-constructor.js +++ b/test/built-ins/String/prototype/replace/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.replace(); -}, '`new String.prototype.replace()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/replaceAll/not-a-constructor.js b/test/built-ins/String/prototype/replaceAll/not-a-constructor.js index 0589233c051..cb82ef8a606 100644 --- a/test/built-ins/String/prototype/replaceAll/not-a-constructor.js +++ b/test/built-ins/String/prototype/replaceAll/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.replaceAll(); -}, '`new String.prototype.replaceAll()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/search/not-a-constructor.js b/test/built-ins/String/prototype/search/not-a-constructor.js index 8b2dc50c633..baa768accd4 100644 --- a/test/built-ins/String/prototype/search/not-a-constructor.js +++ b/test/built-ins/String/prototype/search/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.search(); -}, '`new String.prototype.search()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/slice/not-a-constructor.js b/test/built-ins/String/prototype/slice/not-a-constructor.js index 334f2f3895d..82a50669850 100644 --- a/test/built-ins/String/prototype/slice/not-a-constructor.js +++ b/test/built-ins/String/prototype/slice/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.slice(); -}, '`new String.prototype.slice()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/split/not-a-constructor.js b/test/built-ins/String/prototype/split/not-a-constructor.js index 45abb4ad1e6..a0d9c41a709 100644 --- a/test/built-ins/String/prototype/split/not-a-constructor.js +++ b/test/built-ins/String/prototype/split/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.split(); -}, '`new String.prototype.split()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/startsWith/not-a-constructor.js b/test/built-ins/String/prototype/startsWith/not-a-constructor.js index 588e3e232c8..3a410a827fc 100644 --- a/test/built-ins/String/prototype/startsWith/not-a-constructor.js +++ b/test/built-ins/String/prototype/startsWith/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.startsWith(); -}, '`new String.prototype.startsWith()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/substring/not-a-constructor.js b/test/built-ins/String/prototype/substring/not-a-constructor.js index 54d8baf6058..14db74ede2f 100644 --- a/test/built-ins/String/prototype/substring/not-a-constructor.js +++ b/test/built-ins/String/prototype/substring/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.substring(); -}, '`new String.prototype.substring()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/toLocaleLowerCase/not-a-constructor.js b/test/built-ins/String/prototype/toLocaleLowerCase/not-a-constructor.js index a2573222c0f..888b65e1bbf 100644 --- a/test/built-ins/String/prototype/toLocaleLowerCase/not-a-constructor.js +++ b/test/built-ins/String/prototype/toLocaleLowerCase/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.toLocaleLowerCase(); -}, '`new String.prototype.toLocaleLowerCase()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/toLocaleUpperCase/not-a-constructor.js b/test/built-ins/String/prototype/toLocaleUpperCase/not-a-constructor.js index 08faf179131..0961c648a31 100644 --- a/test/built-ins/String/prototype/toLocaleUpperCase/not-a-constructor.js +++ b/test/built-ins/String/prototype/toLocaleUpperCase/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.toLocaleUpperCase(); -}, '`new String.prototype.toLocaleUpperCase()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/toLowerCase/not-a-constructor.js b/test/built-ins/String/prototype/toLowerCase/not-a-constructor.js index ecba2acf88b..c67d57df2a2 100644 --- a/test/built-ins/String/prototype/toLowerCase/not-a-constructor.js +++ b/test/built-ins/String/prototype/toLowerCase/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.toLowerCase(); -}, '`new String.prototype.toLowerCase()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/toString/not-a-constructor.js b/test/built-ins/String/prototype/toString/not-a-constructor.js index ddbb986b949..1cb4dd15458 100644 --- a/test/built-ins/String/prototype/toString/not-a-constructor.js +++ b/test/built-ins/String/prototype/toString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.toString(); -}, '`new String.prototype.toString()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/toUpperCase/not-a-constructor.js b/test/built-ins/String/prototype/toUpperCase/not-a-constructor.js index c19680c7862..272d8048cac 100644 --- a/test/built-ins/String/prototype/toUpperCase/not-a-constructor.js +++ b/test/built-ins/String/prototype/toUpperCase/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.toUpperCase(); -}, '`new String.prototype.toUpperCase()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/toWellFormed/not-a-constructor.js b/test/built-ins/String/prototype/toWellFormed/not-a-constructor.js index 4e4a4210127..7c4acb4a2cf 100644 --- a/test/built-ins/String/prototype/toWellFormed/not-a-constructor.js +++ b/test/built-ins/String/prototype/toWellFormed/not-a-constructor.js @@ -29,4 +29,4 @@ assert.sameValue( assert.throws(TypeError, function () { new String.prototype.toWellFormed(); -}, '`new String.prototype.toWellFormed()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/toWellFormed/return-abrupt-from-this.js b/test/built-ins/String/prototype/toWellFormed/return-abrupt-from-this.js index 44fbb9c814c..8c287b7ef17 100644 --- a/test/built-ins/String/prototype/toWellFormed/return-abrupt-from-this.js +++ b/test/built-ins/String/prototype/toWellFormed/return-abrupt-from-this.js @@ -15,8 +15,8 @@ assert.sameValue(typeof String.prototype.toWellFormed, 'function'); assert.throws(TypeError, function () { String.prototype.toWellFormed.call(undefined); -}, '`String.prototype.toWellFormed.call(undefined)` throws TypeError'); +}); assert.throws(TypeError, function () { String.prototype.toWellFormed.call(null); -}, '`String.prototype.toWellFormed.call(null)` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/trim/not-a-constructor.js b/test/built-ins/String/prototype/trim/not-a-constructor.js index 62932f797f7..02a5c7f80fb 100644 --- a/test/built-ins/String/prototype/trim/not-a-constructor.js +++ b/test/built-ins/String/prototype/trim/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.trim(); -}, '`new String.prototype.trim()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/trimEnd/not-a-constructor.js b/test/built-ins/String/prototype/trimEnd/not-a-constructor.js index 6ffaae933f9..1f6818d8eaf 100644 --- a/test/built-ins/String/prototype/trimEnd/not-a-constructor.js +++ b/test/built-ins/String/prototype/trimEnd/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.trimEnd(); -}, '`new String.prototype.trimEnd()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/trimStart/not-a-constructor.js b/test/built-ins/String/prototype/trimStart/not-a-constructor.js index b612215d0a7..d7dc007748a 100644 --- a/test/built-ins/String/prototype/trimStart/not-a-constructor.js +++ b/test/built-ins/String/prototype/trimStart/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.trimStart(); -}, '`new String.prototype.trimStart()` throws TypeError'); +}); diff --git a/test/built-ins/String/prototype/valueOf/not-a-constructor.js b/test/built-ins/String/prototype/valueOf/not-a-constructor.js index 5c6ded77341..65901927cbd 100644 --- a/test/built-ins/String/prototype/valueOf/not-a-constructor.js +++ b/test/built-ins/String/prototype/valueOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new String.prototype.valueOf(); -}, '`new String.prototype.valueOf()` throws TypeError'); +}); diff --git a/test/built-ins/String/raw/not-a-constructor.js b/test/built-ins/String/raw/not-a-constructor.js index 460ce2eb69d..241d5a94b91 100644 --- a/test/built-ins/String/raw/not-a-constructor.js +++ b/test/built-ins/String/raw/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(String.raw), false, 'isConstructor(String.raw) mu assert.throws(TypeError, () => { new String.raw({raw: []}, []); -}, '`new String.raw({raw: []}, [])` throws TypeError'); +}); diff --git a/test/built-ins/Symbol/for/not-a-constructor.js b/test/built-ins/Symbol/for/not-a-constructor.js index d0779591ca8..0dfc6ad7dc6 100644 --- a/test/built-ins/Symbol/for/not-a-constructor.js +++ b/test/built-ins/Symbol/for/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Symbol.for), false, 'isConstructor(Symbol.for) mu assert.throws(TypeError, () => { new Symbol.for(); -}, '`new Symbol.for()` throws TypeError'); +}); diff --git a/test/built-ins/Symbol/keyFor/not-a-constructor.js b/test/built-ins/Symbol/keyFor/not-a-constructor.js index c1da1f79f4c..2d7b0030a2e 100644 --- a/test/built-ins/Symbol/keyFor/not-a-constructor.js +++ b/test/built-ins/Symbol/keyFor/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(Symbol.keyFor), false, 'isConstructor(Symbol.keyF assert.throws(TypeError, () => { new Symbol.keyFor(Symbol()); -}, '`new Symbol.keyFor(Symbol())` throws TypeError'); +}); diff --git a/test/built-ins/Symbol/prototype/toString/not-a-constructor.js b/test/built-ins/Symbol/prototype/toString/not-a-constructor.js index 8bb6e9fb8b1..9c99aeef55c 100644 --- a/test/built-ins/Symbol/prototype/toString/not-a-constructor.js +++ b/test/built-ins/Symbol/prototype/toString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let symbol = Symbol(); new symbol.toString(); -}, '`let symbol = Symbol(); new symbol.toString()` throws TypeError'); +}); diff --git a/test/built-ins/Symbol/prototype/valueOf/not-a-constructor.js b/test/built-ins/Symbol/prototype/valueOf/not-a-constructor.js index cbb7e7ef18d..3d23b8152a4 100644 --- a/test/built-ins/Symbol/prototype/valueOf/not-a-constructor.js +++ b/test/built-ins/Symbol/prototype/valueOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let symbol = Symbol(); new symbol.valueOf(); -}, '`let symbol = Symbol(); new symbol.valueOf()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/from/not-a-constructor.js b/test/built-ins/TypedArray/from/not-a-constructor.js index 363fd9ce0e4..bb11761689e 100644 --- a/test/built-ins/TypedArray/from/not-a-constructor.js +++ b/test/built-ins/TypedArray/from/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(TypedArray.from), false, 'isConstructor(TypedArra assert.throws(TypeError, () => { new TypedArray.from([]); -}, '`new TypedArray.from([])` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/of/not-a-constructor.js b/test/built-ins/TypedArray/of/not-a-constructor.js index c17a599f12e..e2a75373da8 100644 --- a/test/built-ins/TypedArray/of/not-a-constructor.js +++ b/test/built-ins/TypedArray/of/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(TypedArray.of), false, 'isConstructor(TypedArray. assert.throws(TypeError, () => { new TypedArray.of(1, 2, 3, 4); -}, '`new TypedArray.of(1, 2, 3, 4)` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/Symbol.iterator/not-a-constructor.js b/test/built-ins/TypedArray/prototype/Symbol.iterator/not-a-constructor.js index a573a07e9b1..dbe9f8d9e69 100644 --- a/test/built-ins/TypedArray/prototype/Symbol.iterator/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/Symbol.iterator/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8[Symbol.iterator](); -}, '`let u8 = new Uint8Array(1); new u8[Symbol.iterator]()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/at/index-non-numeric-argument-tointeger-invalid.js b/test/built-ins/TypedArray/prototype/at/index-non-numeric-argument-tointeger-invalid.js index 703f912a996..d13441851f2 100644 --- a/test/built-ins/TypedArray/prototype/at/index-non-numeric-argument-tointeger-invalid.js +++ b/test/built-ins/TypedArray/prototype/at/index-non-numeric-argument-tointeger-invalid.js @@ -24,5 +24,5 @@ testWithTypedArrayConstructors(TA => { assert.throws(TypeError, () => { a.at(Symbol()); - }, '`a.at(Symbol())` throws TypeError'); + }); }); diff --git a/test/built-ins/TypedArray/prototype/at/return-abrupt-from-this.js b/test/built-ins/TypedArray/prototype/at/return-abrupt-from-this.js index 4b224d05bb3..7772a5a7151 100644 --- a/test/built-ins/TypedArray/prototype/at/return-abrupt-from-this.js +++ b/test/built-ins/TypedArray/prototype/at/return-abrupt-from-this.js @@ -21,20 +21,20 @@ assert.sameValue( assert.throws(TypeError, () => { TypedArray.prototype.at.call(undefined); -}, '`TypedArray.prototype.at.call(undefined)` throws TypeError'); +}); assert.throws(TypeError, () => { TypedArray.prototype.at.call(null); -}, '`TypedArray.prototype.at.call(null)` throws TypeError'); +}); testWithTypedArrayConstructors(TA => { assert.sameValue(typeof TA.prototype.at, 'function', 'The value of `typeof TA.prototype.at` is "function"'); assert.throws(TypeError, () => { TA.prototype.at.call(undefined); - }, '`TA.prototype.at.call(undefined)` throws TypeError'); + }); assert.throws(TypeError, () => { TA.prototype.at.call(null); - }, '`TA.prototype.at.call(null)` throws TypeError'); + }); }); diff --git a/test/built-ins/TypedArray/prototype/copyWithin/not-a-constructor.js b/test/built-ins/TypedArray/prototype/copyWithin/not-a-constructor.js index d07b461953c..0e55bc66b2a 100644 --- a/test/built-ins/TypedArray/prototype/copyWithin/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/copyWithin/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.copyWithin(); -}, '`let u8 = new Uint8Array(1); new u8.copyWithin()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/entries/not-a-constructor.js b/test/built-ins/TypedArray/prototype/entries/not-a-constructor.js index 88374ce28d2..6c38e143311 100644 --- a/test/built-ins/TypedArray/prototype/entries/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/entries/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.entries(); -}, '`let u8 = new Uint8Array(1); new u8.entries()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/every/not-a-constructor.js b/test/built-ins/TypedArray/prototype/every/not-a-constructor.js index 1176931d961..c84e6ea4342 100644 --- a/test/built-ins/TypedArray/prototype/every/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/every/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.every(() => {}); -}, '`let u8 = new Uint8Array(1); new u8.every(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/fill/not-a-constructor.js b/test/built-ins/TypedArray/prototype/fill/not-a-constructor.js index 1dfa2a64072..b901c21201c 100644 --- a/test/built-ins/TypedArray/prototype/fill/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/fill/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.fill(); -}, '`let u8 = new Uint8Array(1); new u8.fill()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/filter/not-a-constructor.js b/test/built-ins/TypedArray/prototype/filter/not-a-constructor.js index 72914d77dab..ca63e4db20c 100644 --- a/test/built-ins/TypedArray/prototype/filter/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/filter/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.filter(() => {}); -}, '`let u8 = new Uint8Array(1); new u8.filter(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/find/not-a-constructor.js b/test/built-ins/TypedArray/prototype/find/not-a-constructor.js index db1f7a8e043..00dd2fa87ce 100644 --- a/test/built-ins/TypedArray/prototype/find/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/find/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.find(() => {}); -}, '`let u8 = new Uint8Array(1); new u8.find(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/findIndex/not-a-constructor.js b/test/built-ins/TypedArray/prototype/findIndex/not-a-constructor.js index 583bcdf4f20..8b85b75f3ed 100644 --- a/test/built-ins/TypedArray/prototype/findIndex/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/findIndex/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.findIndex(() => {}); -}, '`let u8 = new Uint8Array(1); new u8.findIndex(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/findLast/not-a-constructor.js b/test/built-ins/TypedArray/prototype/findLast/not-a-constructor.js index 14c29d6ecd8..a5c97d2a00d 100644 --- a/test/built-ins/TypedArray/prototype/findLast/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/findLast/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.findLast(() => {}); -}, '`let u8 = new Uint8Array(1); new u8.findLast(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/findLastIndex/not-a-constructor.js b/test/built-ins/TypedArray/prototype/findLastIndex/not-a-constructor.js index ecad495f946..3256e23bcfa 100644 --- a/test/built-ins/TypedArray/prototype/findLastIndex/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/findLastIndex/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.findLastIndex(() => {}); -}, '`let u8 = new Uint8Array(1); new u8.findLastIndex(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/forEach/not-a-constructor.js b/test/built-ins/TypedArray/prototype/forEach/not-a-constructor.js index 1e44a19bd87..39a7502f35d 100644 --- a/test/built-ins/TypedArray/prototype/forEach/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/forEach/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.forEach(() => {}); -}, '`let u8 = new Uint8Array(1); new u8.forEach(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/includes/not-a-constructor.js b/test/built-ins/TypedArray/prototype/includes/not-a-constructor.js index a60b5acbf76..5017b16e48c 100644 --- a/test/built-ins/TypedArray/prototype/includes/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/includes/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.includes(1); -}, '`let u8 = new Uint8Array(1); new u8.includes(1)` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/indexOf/not-a-constructor.js b/test/built-ins/TypedArray/prototype/indexOf/not-a-constructor.js index 2f0643221bb..bda7f8013d0 100644 --- a/test/built-ins/TypedArray/prototype/indexOf/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/indexOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.indexOf(); -}, '`let u8 = new Uint8Array(1); new u8.indexOf()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/join/not-a-constructor.js b/test/built-ins/TypedArray/prototype/join/not-a-constructor.js index 9557b1b98fd..5b88c3fbe2b 100644 --- a/test/built-ins/TypedArray/prototype/join/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/join/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.join(); -}, '`let u8 = new Uint8Array(1); new u8.join()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/keys/not-a-constructor.js b/test/built-ins/TypedArray/prototype/keys/not-a-constructor.js index 299f73e1ff2..d579012f959 100644 --- a/test/built-ins/TypedArray/prototype/keys/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/keys/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.keys(); -}, '`let u8 = new Uint8Array(1); new u8.keys()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/lastIndexOf/not-a-constructor.js b/test/built-ins/TypedArray/prototype/lastIndexOf/not-a-constructor.js index 321a8e8a532..591a5307249 100644 --- a/test/built-ins/TypedArray/prototype/lastIndexOf/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/lastIndexOf/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.lastIndexOf(); -}, '`let u8 = new Uint8Array(1); new u8.lastIndexOf()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/map/not-a-constructor.js b/test/built-ins/TypedArray/prototype/map/not-a-constructor.js index 80ac8f484a6..1b0d4be0c60 100644 --- a/test/built-ins/TypedArray/prototype/map/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/map/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.map(() => {}); -}, '`let u8 = new Uint8Array(1); new u8.map(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/reduce/not-a-constructor.js b/test/built-ins/TypedArray/prototype/reduce/not-a-constructor.js index 1f6fc863995..3374e9fe2b8 100644 --- a/test/built-ins/TypedArray/prototype/reduce/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/reduce/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.reduce(() => {}, []); -}, '`let u8 = new Uint8Array(1); new u8.reduce(() => {}, [])` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/reduceRight/not-a-constructor.js b/test/built-ins/TypedArray/prototype/reduceRight/not-a-constructor.js index 3096cfdac05..1a08634ec24 100644 --- a/test/built-ins/TypedArray/prototype/reduceRight/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/reduceRight/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.reduceRight(() => {}, []); -}, '`let u8 = new Uint8Array(1); new u8.reduceRight(() => {}, [])` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/reverse/not-a-constructor.js b/test/built-ins/TypedArray/prototype/reverse/not-a-constructor.js index e08f86079a9..26e287d154d 100644 --- a/test/built-ins/TypedArray/prototype/reverse/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/reverse/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.reverse(); -}, '`let u8 = new Uint8Array(1); new u8.reverse()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/set/not-a-constructor.js b/test/built-ins/TypedArray/prototype/set/not-a-constructor.js index 3c7e20d7232..eb726ec03f5 100644 --- a/test/built-ins/TypedArray/prototype/set/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/set/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.set([0], 0); -}, '`let u8 = new Uint8Array(1); new u8.set([0], 0)` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/slice/not-a-constructor.js b/test/built-ins/TypedArray/prototype/slice/not-a-constructor.js index b0cd44da461..c6f06e1fedd 100644 --- a/test/built-ins/TypedArray/prototype/slice/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/slice/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.slice(); -}, '`let u8 = new Uint8Array(1); new u8.slice()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/some/not-a-constructor.js b/test/built-ins/TypedArray/prototype/some/not-a-constructor.js index 37476e640f8..f231d4a5bf7 100644 --- a/test/built-ins/TypedArray/prototype/some/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/some/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.some(() => {}); -}, '`let u8 = new Uint8Array(1); new u8.some(() => {})` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/sort/not-a-constructor.js b/test/built-ins/TypedArray/prototype/sort/not-a-constructor.js index 8b0c964659b..197032b1221 100644 --- a/test/built-ins/TypedArray/prototype/sort/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/sort/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.sort(); -}, '`let u8 = new Uint8Array(1); new u8.sort()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/subarray/not-a-constructor.js b/test/built-ins/TypedArray/prototype/subarray/not-a-constructor.js index 5dd8b47694d..f60afef3333 100644 --- a/test/built-ins/TypedArray/prototype/subarray/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/subarray/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.subarray(); -}, '`let u8 = new Uint8Array(1); new u8.subarray()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/not-a-constructor.js b/test/built-ins/TypedArray/prototype/toLocaleString/not-a-constructor.js index d3c0162f44d..9335d175a53 100644 --- a/test/built-ins/TypedArray/prototype/toLocaleString/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/toLocaleString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.toLocaleString(); -}, '`let u8 = new Uint8Array(1); new u8.toLocaleString()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/toReversed/not-a-constructor.js b/test/built-ins/TypedArray/prototype/toReversed/not-a-constructor.js index 630eba76ed5..0464e08d767 100644 --- a/test/built-ins/TypedArray/prototype/toReversed/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/toReversed/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new TypedArray.prototype.toReversed(); -}, '`new TypedArray.prototype.toReversed()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/toSorted/not-a-constructor.js b/test/built-ins/TypedArray/prototype/toSorted/not-a-constructor.js index 6d47d98c71a..f655e0eeb18 100644 --- a/test/built-ins/TypedArray/prototype/toSorted/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/toSorted/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { new TypedArray.prototype.toSorted(); -}, '`new TypedArray.prototype.toSorted()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/toString/not-a-constructor.js b/test/built-ins/TypedArray/prototype/toString/not-a-constructor.js index a9beadaf102..a3ff41d014d 100644 --- a/test/built-ins/TypedArray/prototype/toString/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/toString/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.toString(); -}, '`let u8 = new Uint8Array(1); new u8.toString()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArray/prototype/values/not-a-constructor.js b/test/built-ins/TypedArray/prototype/values/not-a-constructor.js index 1df6d643fec..c3f7d64d5be 100644 --- a/test/built-ins/TypedArray/prototype/values/not-a-constructor.js +++ b/test/built-ins/TypedArray/prototype/values/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let u8 = new Uint8Array(1); new u8.values(); -}, '`let u8 = new Uint8Array(1); new u8.values()` throws TypeError'); +}); diff --git a/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/indexed-value-ab-strict.js b/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/indexed-value-ab-strict.js index 2bb6959e377..140206bf7c3 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/indexed-value-ab-strict.js +++ b/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/indexed-value-ab-strict.js @@ -39,14 +39,14 @@ testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(TypeError, () => { delete sample["0"]; - }, '`delete sample["0"]` throws TypeError'); + }); assert.throws(TypeError, () => { delete sample["1"]; - }, '`delete sample["1"]` throws TypeError'); + }); assert.throws(TypeError, () => { delete sample[0]; - }, '`delete sample[0]` throws TypeError'); + }); assert.throws(TypeError, () => { delete sample[0]; - }, '`delete sample[0]` throws TypeError'); + }); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-canonical-index-strict.js b/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-canonical-index-strict.js index 5f211e2ce4c..0732874a0a7 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-canonical-index-strict.js +++ b/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-canonical-index-strict.js @@ -59,7 +59,7 @@ testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(TypeError, () => { delete sample[key]; - }, '`delete sample[key]` throws TypeError'); + }); delete TypedArray.prototype[key]; }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-minus-zero-strict.js b/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-minus-zero-strict.js index 016e8c5cde6..632f565e76b 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-minus-zero-strict.js +++ b/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-minus-zero-strict.js @@ -42,5 +42,5 @@ testWithBigIntTypedArrayConstructors(function(TA) { assert.sameValue(delete sample["-0"], true, 'The value of `delete sample["-0"]` is true'); assert.throws(TypeError, () => { delete sample[-0]; - }, '`delete sample[-0]` throws TypeError'); + }); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-numeric-index-get-throws.js b/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-numeric-index-get-throws.js index f4ff4962314..b627c94ca98 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-numeric-index-get-throws.js +++ b/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-numeric-index-get-throws.js @@ -34,5 +34,5 @@ testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(Test262Error, () => { sample.foo; - }, '`sample.foo` throws Test262Error'); + }); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-numeric-index-strict.js b/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-numeric-index-strict.js index 5120af8d677..8405f1af551 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-numeric-index-strict.js +++ b/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-not-numeric-index-strict.js @@ -41,7 +41,7 @@ testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(TypeError, () => { delete sample.bar; - }, '`delete sample.bar` throws TypeError'); + }); assert.sameValue(delete sample.baz, true, 'The value of `delete sample.baz` is true'); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-out-of-bounds-strict.js b/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-out-of-bounds-strict.js index 7bd1a0767a4..bff67c0e04f 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-out-of-bounds-strict.js +++ b/test/built-ins/TypedArrayConstructors/internals/Delete/BigInt/key-is-out-of-bounds-strict.js @@ -43,11 +43,11 @@ testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(TypeError, () => { delete sample["0"]; - }, '`delete sample["0"]` throws TypeError'); + }); assert.throws(TypeError, () => { delete sample[0]; - }, '`delete sample[0]` throws TypeError'); + }); assert.sameValue(delete sample["1"], true, 'The value of `delete sample["1"]` is true'); assert.sameValue(delete sample[1], true, 'The value of `delete sample[1]` is true'); diff --git a/test/built-ins/TypedArrayConstructors/internals/Delete/indexed-value-ab-strict.js b/test/built-ins/TypedArrayConstructors/internals/Delete/indexed-value-ab-strict.js index c02aa494db1..6947cbc890a 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Delete/indexed-value-ab-strict.js +++ b/test/built-ins/TypedArrayConstructors/internals/Delete/indexed-value-ab-strict.js @@ -39,14 +39,14 @@ testWithTypedArrayConstructors(function(TA) { assert.throws(TypeError, () => { delete sample["0"]; - }, '`delete sample["0"]` throws TypeError'); + }); assert.throws(TypeError, () => { delete sample["1"]; - }, '`delete sample["1"]` throws TypeError'); + }); assert.throws(TypeError, () => { delete sample[0]; - }, '`delete sample[0]` throws TypeError'); + }); assert.throws(TypeError, () => { delete sample[0]; - }, '`delete sample[0]` throws TypeError'); + }); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-canonical-index-strict.js b/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-canonical-index-strict.js index bf3ce01d20e..16ab4397817 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-canonical-index-strict.js +++ b/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-canonical-index-strict.js @@ -59,7 +59,7 @@ testWithTypedArrayConstructors(function(TA) { assert.throws(TypeError, () => { delete sample[key]; - }, '`delete sample[key]` throws TypeError'); + }); delete TypedArray.prototype[key]; }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-minus-zero-strict.js b/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-minus-zero-strict.js index 0318011cf87..c13080dc101 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-minus-zero-strict.js +++ b/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-minus-zero-strict.js @@ -42,5 +42,5 @@ testWithTypedArrayConstructors(function(TA) { assert.sameValue(delete sample["-0"], true, 'The value of `delete sample["-0"]` is true'); assert.throws(TypeError, () => { delete sample[-0]; - }, '`delete sample[-0]` throws TypeError'); + }); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-numeric-index-get-throws.js b/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-numeric-index-get-throws.js index c0a2f3afabe..1b9badead43 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-numeric-index-get-throws.js +++ b/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-numeric-index-get-throws.js @@ -34,5 +34,5 @@ testWithTypedArrayConstructors(function(TA) { assert.throws(Test262Error, () => { sample.foo; - }, '`sample.foo` throws Test262Error'); + }); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-numeric-index-strict.js b/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-numeric-index-strict.js index 23d3e198dbb..20096f0aedf 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-numeric-index-strict.js +++ b/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-not-numeric-index-strict.js @@ -41,7 +41,7 @@ testWithTypedArrayConstructors(function(TA) { assert.throws(TypeError, () => { delete sample.bar; - }, '`delete sample.bar` throws TypeError'); + }); assert.sameValue(delete sample.baz, true, 'The value of `delete sample.baz` is true'); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-out-of-bounds-strict.js b/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-out-of-bounds-strict.js index 2599956ea9d..072098a0d49 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-out-of-bounds-strict.js +++ b/test/built-ins/TypedArrayConstructors/internals/Delete/key-is-out-of-bounds-strict.js @@ -43,11 +43,11 @@ testWithTypedArrayConstructors(function(TA) { assert.throws(TypeError, () => { delete sample["0"]; - }, '`delete sample["0"]` throws TypeError'); + }); assert.throws(TypeError, () => { delete sample[0]; - }, '`delete sample[0]` throws TypeError'); + }); assert.sameValue(delete sample["1"], true, 'The value of `delete sample["1"]` is true'); assert.sameValue(delete sample[1], true, 'The value of `delete sample[1]` is true'); diff --git a/test/built-ins/TypedArrayConstructors/internals/HasProperty/BigInt/abrupt-from-ordinary-has-parent-hasproperty.js b/test/built-ins/TypedArrayConstructors/internals/HasProperty/BigInt/abrupt-from-ordinary-has-parent-hasproperty.js index 10985c5a87c..569c50d16b4 100644 --- a/test/built-ins/TypedArrayConstructors/internals/HasProperty/BigInt/abrupt-from-ordinary-has-parent-hasproperty.js +++ b/test/built-ins/TypedArrayConstructors/internals/HasProperty/BigInt/abrupt-from-ordinary-has-parent-hasproperty.js @@ -51,7 +51,7 @@ testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(Test262Error, function() { Reflect.has(sample, "foo"); - }, '`Reflect.has(sample, "foo")` throws Test262Error'); + }); Object.defineProperty(sample, "foo", { value: 42 }); diff --git a/test/built-ins/TypedArrayConstructors/internals/HasProperty/abrupt-from-ordinary-has-parent-hasproperty.js b/test/built-ins/TypedArrayConstructors/internals/HasProperty/abrupt-from-ordinary-has-parent-hasproperty.js index 76460854c04..8e49cca9aee 100644 --- a/test/built-ins/TypedArrayConstructors/internals/HasProperty/abrupt-from-ordinary-has-parent-hasproperty.js +++ b/test/built-ins/TypedArrayConstructors/internals/HasProperty/abrupt-from-ordinary-has-parent-hasproperty.js @@ -51,7 +51,7 @@ testWithTypedArrayConstructors(function(TA) { assert.throws(Test262Error, function() { Reflect.has(sample, "foo"); - }, '`Reflect.has(sample, "foo")` throws Test262Error'); + }); Object.defineProperty(sample, "foo", { value: 42 }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/key-is-not-numeric-index-set-throws.js b/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/key-is-not-numeric-index-set-throws.js index 8d9b4632b6f..2fc95708b2d 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/key-is-not-numeric-index-set-throws.js +++ b/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/key-is-not-numeric-index-set-throws.js @@ -34,7 +34,7 @@ testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(Test262Error, function() { sample.test262 = 1; - }, '`sample.test262 = 1` throws Test262Error'); + }); assert.sameValue(sample.test262, undefined, 'The value of sample.test262 is expected to equal `undefined`'); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/null-tobigint.js b/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/null-tobigint.js index 679c50c6903..31e0045a4b6 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/null-tobigint.js +++ b/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/null-tobigint.js @@ -56,6 +56,6 @@ testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(TypeError, function() { typedArray[0] = null; - }, '`typedArray[0] = null` throws TypeError'); + }); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/number-tobigint.js b/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/number-tobigint.js index 692b17d20b6..5adb9a6d198 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/number-tobigint.js +++ b/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/number-tobigint.js @@ -56,30 +56,30 @@ testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(TypeError, function() { typedArray[0] = 1; - }, '`typedArray[0] = 1` throws TypeError'); + }); assert.throws(TypeError, function() { typedArray[0] = Math.pow(2, 63); - }, '`typedArray[0] = Math.pow(2, 63)` throws TypeError'); + }); assert.throws(TypeError, function() { typedArray[0] = +0; - }, '`typedArray[0] = +0` throws TypeError'); + }); assert.throws(TypeError, function() { typedArray[0] = -0; - }, '`typedArray[0] = -0` throws TypeError'); + }); assert.throws(TypeError, function() { typedArray[0] = Infinity; - }, '`typedArray[0] = Infinity` throws TypeError'); + }); assert.throws(TypeError, function() { typedArray[0] = -Infinity; - }, '`typedArray[0] = -Infinity` throws TypeError'); + }); assert.throws(TypeError, function() { typedArray[0] = NaN; - }, '`typedArray[0] = NaN` throws TypeError'); + }); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/string-nan-tobigint.js b/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/string-nan-tobigint.js index 1a73eecc675..cafa32df253 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/string-nan-tobigint.js +++ b/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/string-nan-tobigint.js @@ -60,6 +60,6 @@ testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(SyntaxError, function() { typedArray[0] = "definately not a number"; - }, '`typedArray[0] = "definately not a number"` throws SyntaxError'); + }); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/symbol-tobigint.js b/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/symbol-tobigint.js index fc39ac9d600..a2e5cdc55cf 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/symbol-tobigint.js +++ b/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/symbol-tobigint.js @@ -58,6 +58,6 @@ testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(TypeError, function() { typedArray[0] = s; - }, '`typedArray[0] = s` throws TypeError'); + }); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/undefined-tobigint.js b/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/undefined-tobigint.js index ddfe1b1d37a..2232e5d3ab1 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/undefined-tobigint.js +++ b/test/built-ins/TypedArrayConstructors/internals/Set/BigInt/undefined-tobigint.js @@ -57,6 +57,6 @@ testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(TypeError, function() { typedArray[0] = undefined; - }, '`typedArray[0] = undefined` throws TypeError'); + }); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Set/bigint-tonumber.js b/test/built-ins/TypedArrayConstructors/internals/Set/bigint-tonumber.js index 259c5f9f314..fd172e27863 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Set/bigint-tonumber.js +++ b/test/built-ins/TypedArrayConstructors/internals/Set/bigint-tonumber.js @@ -55,5 +55,5 @@ testWithTypedArrayConstructors(function(TA) { assert.throws(TypeError, function() { typedArray[0] = 1n; - }, '`typedArray[0] = 1n` throws TypeError'); + }); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Set/detached-buffer.js b/test/built-ins/TypedArrayConstructors/internals/Set/detached-buffer.js index 6c2ce33e12c..0029fd07c8e 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Set/detached-buffer.js +++ b/test/built-ins/TypedArrayConstructors/internals/Set/detached-buffer.js @@ -51,5 +51,5 @@ testWithTypedArrayConstructors(function(TA) { assert.throws(Test262Error, function() { sample['0'] = obj; - }, '`sample[\'0\'] = obj` throws Test262Error'); + }); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Set/key-is-not-numeric-index-set-throws.js b/test/built-ins/TypedArrayConstructors/internals/Set/key-is-not-numeric-index-set-throws.js index a15b92f072a..c1bd92e8f3c 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Set/key-is-not-numeric-index-set-throws.js +++ b/test/built-ins/TypedArrayConstructors/internals/Set/key-is-not-numeric-index-set-throws.js @@ -34,7 +34,7 @@ testWithTypedArrayConstructors(function(TA) { assert.throws(Test262Error, function() { sample.test262 = 1; - }, '`sample.test262 = 1` throws Test262Error'); + }); assert.sameValue(sample.test262, undefined, 'The value of sample.test262 is expected to equal `undefined`'); }); diff --git a/test/built-ins/TypedArrayConstructors/internals/Set/tonumber-value-throws.js b/test/built-ins/TypedArrayConstructors/internals/Set/tonumber-value-throws.js index f31ba315701..2c91acaa26f 100644 --- a/test/built-ins/TypedArrayConstructors/internals/Set/tonumber-value-throws.js +++ b/test/built-ins/TypedArrayConstructors/internals/Set/tonumber-value-throws.js @@ -37,25 +37,25 @@ testWithTypedArrayConstructors(function(TA) { assert.throws(Test262Error, function() { sample["0"] = obj; - }, '`sample["0"] = obj` throws Test262Error'); + }); assert.throws(Test262Error, function() { sample["1.1"] = obj; - }, '`sample["1.1"] = obj` throws Test262Error'); + }); assert.throws(Test262Error, function() { sample["-0"] = obj; - }, '`sample["-0"] = obj` throws Test262Error'); + }); assert.throws(Test262Error, function() { sample["-1"] = obj; - }, '`sample["-1"] = obj` throws Test262Error'); + }); assert.throws(Test262Error, function() { sample["1"] = obj; - }, '`sample["1"] = obj` throws Test262Error'); + }); assert.throws(Test262Error, function() { sample["2"] = obj; - }, '`sample["2"] = obj` throws Test262Error'); + }); }); diff --git a/test/built-ins/WeakMap/prototype/delete/not-a-constructor.js b/test/built-ins/WeakMap/prototype/delete/not-a-constructor.js index f51ad3f1bee..af4b4218f11 100644 --- a/test/built-ins/WeakMap/prototype/delete/not-a-constructor.js +++ b/test/built-ins/WeakMap/prototype/delete/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let wm = new WeakMap(); new wm.delete(); -}, '`let wm = new WeakMap(); new wm.delete()` throws TypeError'); +}); diff --git a/test/built-ins/WeakMap/prototype/get/not-a-constructor.js b/test/built-ins/WeakMap/prototype/get/not-a-constructor.js index d27cc280a2b..f85a893dc20 100644 --- a/test/built-ins/WeakMap/prototype/get/not-a-constructor.js +++ b/test/built-ins/WeakMap/prototype/get/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let wm = new WeakMap(); new wm.get(); -}, '`let wm = new WeakMap(); new wm.get()` throws TypeError'); +}); diff --git a/test/built-ins/WeakMap/prototype/has/not-a-constructor.js b/test/built-ins/WeakMap/prototype/has/not-a-constructor.js index d8a1da2b0c8..4651f12c95c 100644 --- a/test/built-ins/WeakMap/prototype/has/not-a-constructor.js +++ b/test/built-ins/WeakMap/prototype/has/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let wm = new WeakMap(); new wm.has(); -}, '`let wm = new WeakMap(); new wm.has()` throws TypeError'); +}); diff --git a/test/built-ins/WeakMap/prototype/set/not-a-constructor.js b/test/built-ins/WeakMap/prototype/set/not-a-constructor.js index db26f10bb88..d23bf0e0505 100644 --- a/test/built-ins/WeakMap/prototype/set/not-a-constructor.js +++ b/test/built-ins/WeakMap/prototype/set/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let wm = new WeakMap(); new wm.set({}, 1); -}, '`let wm = new WeakMap(); new wm.set({}, 1)` throws TypeError'); +}); diff --git a/test/built-ins/WeakRef/prototype/deref/not-a-constructor.js b/test/built-ins/WeakRef/prototype/deref/not-a-constructor.js index a319779a33b..6d6741aa666 100644 --- a/test/built-ins/WeakRef/prototype/deref/not-a-constructor.js +++ b/test/built-ins/WeakRef/prototype/deref/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let wr = new WeakRef({}); new wr.deref(); -}, '`let wr = new WeakRef({}); new wr.deref()` throws TypeError'); +}); diff --git a/test/built-ins/WeakSet/prototype/add/not-a-constructor.js b/test/built-ins/WeakSet/prototype/add/not-a-constructor.js index caa39ce8f16..69ef76697c9 100644 --- a/test/built-ins/WeakSet/prototype/add/not-a-constructor.js +++ b/test/built-ins/WeakSet/prototype/add/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let ws = new WeakSet(); new ws.add({}); -}, '`let ws = new WeakSet(); new ws.add({})` throws TypeError'); +}); diff --git a/test/built-ins/WeakSet/prototype/delete/not-a-constructor.js b/test/built-ins/WeakSet/prototype/delete/not-a-constructor.js index b0d14ef0762..84b7c8fcfb7 100644 --- a/test/built-ins/WeakSet/prototype/delete/not-a-constructor.js +++ b/test/built-ins/WeakSet/prototype/delete/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let ws = new WeakSet(); new ws.delete(); -}, '`let ws = new WeakSet(); new ws.delete()` throws TypeError'); +}); diff --git a/test/built-ins/WeakSet/prototype/has/not-a-constructor.js b/test/built-ins/WeakSet/prototype/has/not-a-constructor.js index 67c1401bc0e..715cd58a4c1 100644 --- a/test/built-ins/WeakSet/prototype/has/not-a-constructor.js +++ b/test/built-ins/WeakSet/prototype/has/not-a-constructor.js @@ -29,5 +29,5 @@ assert.sameValue( assert.throws(TypeError, () => { let ws = new WeakSet(); new ws.has(); -}, '`let ws = new WeakSet(); new ws.has()` throws TypeError'); +}); diff --git a/test/built-ins/decodeURI/not-a-constructor.js b/test/built-ins/decodeURI/not-a-constructor.js index 43af3ce8ba2..244149213f8 100644 --- a/test/built-ins/decodeURI/not-a-constructor.js +++ b/test/built-ins/decodeURI/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(decodeURI), false, 'isConstructor(decodeURI) must assert.throws(TypeError, () => { new decodeURI(''); -}, '`new decodeURI(\'\')` throws TypeError'); +}); diff --git a/test/built-ins/decodeURIComponent/not-a-constructor.js b/test/built-ins/decodeURIComponent/not-a-constructor.js index 2b36ae8fd0e..098ccf57324 100644 --- a/test/built-ins/decodeURIComponent/not-a-constructor.js +++ b/test/built-ins/decodeURIComponent/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(decodeURIComponent), false, 'isConstructor(decode assert.throws(TypeError, () => { new decodeURIComponent(''); -}, '`new decodeURIComponent(\'\')` throws TypeError'); +}); diff --git a/test/built-ins/encodeURI/not-a-constructor.js b/test/built-ins/encodeURI/not-a-constructor.js index 1976bcd4177..000de04843c 100644 --- a/test/built-ins/encodeURI/not-a-constructor.js +++ b/test/built-ins/encodeURI/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(encodeURI), false, 'isConstructor(encodeURI) must assert.throws(TypeError, () => { new encodeURI(''); -}, '`new encodeURI(\'\')` throws TypeError'); +}); diff --git a/test/built-ins/encodeURIComponent/not-a-constructor.js b/test/built-ins/encodeURIComponent/not-a-constructor.js index b14665629af..39b6b9c9aa5 100644 --- a/test/built-ins/encodeURIComponent/not-a-constructor.js +++ b/test/built-ins/encodeURIComponent/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(encodeURIComponent), false, 'isConstructor(encode assert.throws(TypeError, () => { new encodeURIComponent(''); -}, '`new encodeURIComponent(\'\')` throws TypeError'); +}); diff --git a/test/built-ins/eval/not-a-constructor.js b/test/built-ins/eval/not-a-constructor.js index 4dbc4523d9f..7574370d787 100644 --- a/test/built-ins/eval/not-a-constructor.js +++ b/test/built-ins/eval/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(eval), false, 'isConstructor(eval) must return fa assert.throws(TypeError, () => { new eval(''); -}, '`new eval(\'\')` throws TypeError'); +}); diff --git a/test/built-ins/isFinite/not-a-constructor.js b/test/built-ins/isFinite/not-a-constructor.js index 55038c7f586..5e1cb8e0c27 100644 --- a/test/built-ins/isFinite/not-a-constructor.js +++ b/test/built-ins/isFinite/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(isFinite), false, 'isConstructor(isFinite) must r assert.throws(TypeError, () => { new isFinite(1); -}, '`new isFinite(1)` throws TypeError'); +}); diff --git a/test/built-ins/isNaN/not-a-constructor.js b/test/built-ins/isNaN/not-a-constructor.js index 72164de19e9..439301c90c9 100644 --- a/test/built-ins/isNaN/not-a-constructor.js +++ b/test/built-ins/isNaN/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(isNaN), false, 'isConstructor(isNaN) must return assert.throws(TypeError, () => { new isNaN(1); -}, '`new isNaN(1)` throws TypeError'); +}); diff --git a/test/built-ins/parseFloat/not-a-constructor.js b/test/built-ins/parseFloat/not-a-constructor.js index fc9ab8a7384..9a21105b230 100644 --- a/test/built-ins/parseFloat/not-a-constructor.js +++ b/test/built-ins/parseFloat/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(parseFloat), false, 'isConstructor(parseFloat) mu assert.throws(TypeError, () => { new parseFloat(1); -}, '`new parseFloat(1)` throws TypeError'); +}); diff --git a/test/built-ins/parseInt/not-a-constructor.js b/test/built-ins/parseInt/not-a-constructor.js index 2d004cad545..d0983da2b3a 100644 --- a/test/built-ins/parseInt/not-a-constructor.js +++ b/test/built-ins/parseInt/not-a-constructor.js @@ -25,5 +25,5 @@ assert.sameValue(isConstructor(parseInt), false, 'isConstructor(parseInt) must r assert.throws(TypeError, () => { new parseInt(1); -}, '`new parseInt(1)` throws TypeError'); +}); diff --git a/test/intl402/Locale/constructor-options-collation-invalid.js b/test/intl402/Locale/constructor-options-collation-invalid.js index c4e6868605f..2d8f842d38e 100644 --- a/test/intl402/Locale/constructor-options-collation-invalid.js +++ b/test/intl402/Locale/constructor-options-collation-invalid.js @@ -30,5 +30,5 @@ const invalidCollationOptions = [ for (const invalidCollationOption of invalidCollationOptions) { assert.throws(RangeError, function() { new Intl.Locale("en", {collation: invalidCollationOption}); - }, '`new Intl.Locale("en", {collation: invalidCollationOption})` throws RangeError'); + }); }