From 7add5252e5f269be2caf216df0c1028c56aee95a Mon Sep 17 00:00:00 2001 From: Leo Balter Date: Tue, 27 Feb 2018 18:09:39 -0500 Subject: Remove unused parameter for testWithBigIntTypedArrayConstructors +whitespace --- test/built-ins/TypedArray/prototype/buffer/BigInt/detached-buffer.js | 2 +- test/built-ins/TypedArray/prototype/buffer/BigInt/return-buffer.js | 2 +- .../prototype/subarray/BigInt/return-abrupt-from-begin-symbol.js | 2 +- .../TypedArray/prototype/subarray/BigInt/return-abrupt-from-begin.js | 4 ++-- .../TypedArray/prototype/subarray/BigInt/return-abrupt-from-end.js | 4 ++-- .../toLocaleString/BigInt/empty-instance-returns-empty-string.js | 4 ++-- .../toLocaleString/BigInt/get-length-uses-internal-arraylength.js | 4 ++-- .../BigInt/return-abrupt-from-firstelement-tolocalestring.js | 4 ++-- .../BigInt/return-abrupt-from-nextelement-tolocalestring.js | 4 ++-- .../TypedArray/prototype/toLocaleString/BigInt/return-result.js | 4 ++-- 10 files changed, 17 insertions(+), 17 deletions(-) (limited to 'test') diff --git a/test/built-ins/TypedArray/prototype/buffer/BigInt/detached-buffer.js b/test/built-ins/TypedArray/prototype/buffer/BigInt/detached-buffer.js index 3332f1a6c..585ed7264 100644 --- a/test/built-ins/TypedArray/prototype/buffer/BigInt/detached-buffer.js +++ b/test/built-ins/TypedArray/prototype/buffer/BigInt/detached-buffer.js @@ -18,4 +18,4 @@ testWithBigIntTypedArrayConstructors(function(TA) { var sample = new TA(buffer, 0, 1); $DETACHBUFFER(sample.buffer); assert.sameValue(sample.buffer, buffer); -}, [BigInt64Array, BigUint64Array]); +}); diff --git a/test/built-ins/TypedArray/prototype/buffer/BigInt/return-buffer.js b/test/built-ins/TypedArray/prototype/buffer/BigInt/return-buffer.js index 7630425eb..5d9969f0e 100644 --- a/test/built-ins/TypedArray/prototype/buffer/BigInt/return-buffer.js +++ b/test/built-ins/TypedArray/prototype/buffer/BigInt/return-buffer.js @@ -19,4 +19,4 @@ testWithBigIntTypedArrayConstructors(function(TA) { var ta = new TA(buffer); assert.sameValue(ta.buffer, buffer); -}, [BigInt64Array, BigUint64Array]); +}); diff --git a/test/built-ins/TypedArray/prototype/subarray/BigInt/return-abrupt-from-begin-symbol.js b/test/built-ins/TypedArray/prototype/subarray/BigInt/return-abrupt-from-begin-symbol.js index a05ad6261..dbd09e13b 100644 --- a/test/built-ins/TypedArray/prototype/subarray/BigInt/return-abrupt-from-begin-symbol.js +++ b/test/built-ins/TypedArray/prototype/subarray/BigInt/return-abrupt-from-begin-symbol.js @@ -17,7 +17,7 @@ var s = Symbol("1"); testWithBigIntTypedArrayConstructors(function(TA) { var sample = new TA(); - + assert.throws(TypeError, function() { sample.subarray(s); }); diff --git a/test/built-ins/TypedArray/prototype/subarray/BigInt/return-abrupt-from-begin.js b/test/built-ins/TypedArray/prototype/subarray/BigInt/return-abrupt-from-begin.js index edff4831f..50ac28981 100644 --- a/test/built-ins/TypedArray/prototype/subarray/BigInt/return-abrupt-from-begin.js +++ b/test/built-ins/TypedArray/prototype/subarray/BigInt/return-abrupt-from-begin.js @@ -27,11 +27,11 @@ var o2 = { testWithBigIntTypedArrayConstructors(function(TA) { var sample = new TA(); - + assert.throws(Test262Error, function() { sample.subarray(o1); }); - + assert.throws(Test262Error, function() { sample.subarray(o2); }); diff --git a/test/built-ins/TypedArray/prototype/subarray/BigInt/return-abrupt-from-end.js b/test/built-ins/TypedArray/prototype/subarray/BigInt/return-abrupt-from-end.js index d9f1bf3b5..4341c4362 100644 --- a/test/built-ins/TypedArray/prototype/subarray/BigInt/return-abrupt-from-end.js +++ b/test/built-ins/TypedArray/prototype/subarray/BigInt/return-abrupt-from-end.js @@ -28,11 +28,11 @@ var o2 = { testWithBigIntTypedArrayConstructors(function(TA) { var sample = new TA(); - + assert.throws(Test262Error, function() { sample.subarray(0, o1); }); - + assert.throws(Test262Error, function() { sample.subarray(0, o2); }); diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/empty-instance-returns-empty-string.js b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/empty-instance-returns-empty-string.js index e933bce82..6dc34b08d 100644 --- a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/empty-instance-returns-empty-string.js +++ b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/empty-instance-returns-empty-string.js @@ -10,9 +10,9 @@ info: | the same algorithm as Array.prototype.toLocaleString as defined in 22.1.3.27 except that the this object's [[ArrayLength]] internal slot is accessed in place of performing a [[Get]] of "length". - + 22.1.3.27 Array.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] ) - + ... 4. If len is zero, return the empty String. ... diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/get-length-uses-internal-arraylength.js b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/get-length-uses-internal-arraylength.js index 688cfb239..bca3f6e76 100644 --- a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/get-length-uses-internal-arraylength.js +++ b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/get-length-uses-internal-arraylength.js @@ -10,9 +10,9 @@ info: | the same algorithm as Array.prototype.toLocaleString as defined in 22.1.3.27 except that the this object's [[ArrayLength]] internal slot is accessed in place of performing a [[Get]] of "length". - + 22.1.3.27 Array.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] ) - + 1. Let array be ? ToObject(this value). 2.Let len be ? ToLength(? Get(array, "length")). ... diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-abrupt-from-firstelement-tolocalestring.js b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-abrupt-from-firstelement-tolocalestring.js index e018468cc..a0927933e 100644 --- a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-abrupt-from-firstelement-tolocalestring.js +++ b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-abrupt-from-firstelement-tolocalestring.js @@ -10,9 +10,9 @@ info: | the same algorithm as Array.prototype.toLocaleString as defined in 22.1.3.27 except that the this object's [[ArrayLength]] internal slot is accessed in place of performing a [[Get]] of "length". - + 22.1.3.27 Array.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] ) - + ... 4. If len is zero, return the empty String. 5. Let firstElement be ? Get(array, "0"). diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-abrupt-from-nextelement-tolocalestring.js b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-abrupt-from-nextelement-tolocalestring.js index 987146990..4cab0e288 100644 --- a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-abrupt-from-nextelement-tolocalestring.js +++ b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-abrupt-from-nextelement-tolocalestring.js @@ -10,9 +10,9 @@ info: | the same algorithm as Array.prototype.toLocaleString as defined in 22.1.3.27 except that the this object's [[ArrayLength]] internal slot is accessed in place of performing a [[Get]] of "length". - + 22.1.3.27 Array.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] ) - + ... 9.Repeat, while k < len a. Let S be a String value produced by concatenating R and separator. diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-result.js b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-result.js index 99772306f..0e2a439c3 100644 --- a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-result.js +++ b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-result.js @@ -10,9 +10,9 @@ info: | the same algorithm as Array.prototype.toLocaleString as defined in 22.1.3.27 except that the this object's [[ArrayLength]] internal slot is accessed in place of performing a [[Get]] of "length". - + 22.1.3.27 Array.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] ) - + ... 5. Let firstElement be ? Get(array, "0"). 6. If firstElement is undefined or null, then -- cgit v1.2.1