summaryrefslogtreecommitdiff
path: root/test/built-ins/ArrayBuffer/prototype/slice/nonconstructor.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/ArrayBuffer/prototype/slice/nonconstructor.js')
-rw-r--r--test/built-ins/ArrayBuffer/prototype/slice/nonconstructor.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/built-ins/ArrayBuffer/prototype/slice/nonconstructor.js b/test/built-ins/ArrayBuffer/prototype/slice/nonconstructor.js
index 1a3406f85..83c2ba319 100644
--- a/test/built-ins/ArrayBuffer/prototype/slice/nonconstructor.js
+++ b/test/built-ins/ArrayBuffer/prototype/slice/nonconstructor.js
@@ -18,4 +18,6 @@ info: |
assert.sameValue(Object.prototype.hasOwnProperty.call(ArrayBuffer.prototype.slice, "prototype"), false);
var arrayBuffer = new ArrayBuffer(8);
-assert.throws(TypeError, function() { new arrayBuffer.slice(); });
+assert.throws(TypeError, function() {
+ new arrayBuffer.slice();
+});