summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-getter-throws.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-getter-throws.js')
-rw-r--r--test/built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-getter-throws.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-getter-throws.js b/test/built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-getter-throws.js
index 626f6d292..8a0b64dee 100644
--- a/test/built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-getter-throws.js
+++ b/test/built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-getter-throws.js
@@ -12,7 +12,9 @@ features: [Symbol.isConcatSpreadable]
function MyError() {}
var obj = {};
Object.defineProperty(obj, Symbol.isConcatSpreadable, {
- get: function() { throw new MyError(); }
+ get: function() {
+ throw new MyError();
+ }
});
assert.throws(MyError, function() {