summaryrefslogtreecommitdiff
path: root/test/built-ins/DataView/prototype/getBigUint64/index-is-out-of-range.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/DataView/prototype/getBigUint64/index-is-out-of-range.js')
-rw-r--r--test/built-ins/DataView/prototype/getBigUint64/index-is-out-of-range.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/DataView/prototype/getBigUint64/index-is-out-of-range.js b/test/built-ins/DataView/prototype/getBigUint64/index-is-out-of-range.js
index 7f25d2e67..88f38cb64 100644
--- a/test/built-ins/DataView/prototype/getBigUint64/index-is-out-of-range.js
+++ b/test/built-ins/DataView/prototype/getBigUint64/index-is-out-of-range.js
@@ -14,7 +14,7 @@ var buffer = new ArrayBuffer(12);
sample = new DataView(buffer, 0);
assert.throws(RangeError, () => sample.getBigUint64(Infinity),
- "DataView access at index Infinity should throw");
+ "DataView access at index Infinity should throw");
assert.throws(RangeError, () => sample.getBigUint64(13), "13 + 8 > 12");
@@ -36,24 +36,24 @@ assert.throws(RangeError, () => sample.getBigUint64(5), "5 + 8 > 12");
sample = new DataView(buffer, 8);
assert.throws(RangeError, () => sample.getBigUint64(1),
- "1 + 8 > 4 (offset)");
+ "1 + 8 > 4 (offset)");
sample = new DataView(buffer, 9);
assert.throws(RangeError, () => sample.getBigUint64(0),
- "0 + 8 > 3 (offset)");
+ "0 + 8 > 3 (offset)");
sample = new DataView(buffer, 0, 8);
assert.throws(RangeError, () => sample.getBigUint64(1),
- "1 + 8 > 8 (length)");
+ "1 + 8 > 8 (length)");
sample = new DataView(buffer, 0, 7);
assert.throws(RangeError, () => sample.getBigUint64(0),
- "0 + 8 > 7 (length)");
+ "0 + 8 > 7 (length)");
sample = new DataView(buffer, 4, 8);
assert.throws(RangeError, () => sample.getBigUint64(1),
- "1 + 8 > 8 (offset+length)");
+ "1 + 8 > 8 (offset+length)");
sample = new DataView(buffer, 4, 7);
assert.throws(RangeError, () => sample.getBigUint64(0),
- "0 + 8 > 7 (offset+length)");
+ "0 + 8 > 7 (offset+length)");