summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/TypedArrayConstructors/internals/Set/BigInt/number-tobigint.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/TypedArrayConstructors/internals/Set/BigInt/number-tobigint.js')
-rw-r--r--js/src/tests/test262/built-ins/TypedArrayConstructors/internals/Set/BigInt/number-tobigint.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/internals/Set/BigInt/number-tobigint.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/internals/Set/BigInt/number-tobigint.js
index b7724a0aed..93e6324a44 100644
--- a/js/src/tests/test262/built-ins/TypedArrayConstructors/internals/Set/BigInt/number-tobigint.js
+++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/internals/Set/BigInt/number-tobigint.js
@@ -56,31 +56,31 @@ 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');
+ });
});