summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/assign/Target-Null.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/assign/Target-Null.js')
-rw-r--r--test/built-ins/Object/assign/Target-Null.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/built-ins/Object/assign/Target-Null.js b/test/built-ins/Object/assign/Target-Null.js
index d5eb7803e..07223a7e4 100644
--- a/test/built-ins/Object/assign/Target-Null.js
+++ b/test/built-ins/Object/assign/Target-Null.js
@@ -7,4 +7,8 @@ description: Test the first argument(target) of Object.Assign(target,...sources)
es6id: 19.1.2.1.1
---*/
-assert.throws(TypeError, function(){Object.assign(null, {a:1});});
+assert.throws(TypeError, function() {
+ Object.assign(null, {
+ a: 1
+ });
+});