summaryrefslogtreecommitdiff
path: root/test/built-ins/DataView/prototype/getBigUint64/index-is-out-of-range.js
diff options
context:
space:
mode:
authorAndré Bargull <andre.bargull@gmail.com>2018-02-09 09:09:47 -0800
committerLeo Balter <leonardo.balter@gmail.com>2018-02-09 12:09:47 -0500
commitf95b56ab28c5f18150f30fbfa889a4f6ba0e50a1 (patch)
treed403f704c1b6a1842f12df380651919beaaf5fef /test/built-ins/DataView/prototype/getBigUint64/index-is-out-of-range.js
parenta01de4a722d088055a7d84d8c691ddd7109edb34 (diff)
downloadqtdeclarative-testsuites-f95b56ab28c5f18150f30fbfa889a4f6ba0e50a1.tar.gz
Revert "js-beautify: make all indentation consistent (depth & character) (#1409)" (#1412)
This reverts commit a01de4a722d088055a7d84d8c691ddd7109edb34.
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)");