summaryrefslogtreecommitdiff
path: root/test/built-ins/ArrayBuffer/prototype/slice/negative-end.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/ArrayBuffer/prototype/slice/negative-end.js')
-rw-r--r--test/built-ins/ArrayBuffer/prototype/slice/negative-end.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/built-ins/ArrayBuffer/prototype/slice/negative-end.js b/test/built-ins/ArrayBuffer/prototype/slice/negative-end.js
index c41245c86..bafdd8a4f 100644
--- a/test/built-ins/ArrayBuffer/prototype/slice/negative-end.js
+++ b/test/built-ins/ArrayBuffer/prototype/slice/negative-end.js
@@ -16,14 +16,17 @@ info: |
var arrayBuffer = new ArrayBuffer(8);
-var start = 2, end = -4;
+var start = 2,
+ end = -4;
var result = arrayBuffer.slice(start, end);
assert.sameValue(result.byteLength, 2, "slice(2, -4)");
-var start = 2, end = -10;
+var start = 2,
+ end = -10;
var result = arrayBuffer.slice(start, end);
assert.sameValue(result.byteLength, 0, "slice(2, -10)");
-var start = 2, end = -Infinity;
+var start = 2,
+ end = -Infinity;
var result = arrayBuffer.slice(start, end);
assert.sameValue(result.byteLength, 0, "slice(2, -Infinity)");