summaryrefslogtreecommitdiff
path: root/test/built-ins/Map/map-iterable-throws-when-set-is-not-callable.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Map/map-iterable-throws-when-set-is-not-callable.js')
-rw-r--r--test/built-ins/Map/map-iterable-throws-when-set-is-not-callable.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/built-ins/Map/map-iterable-throws-when-set-is-not-callable.js b/test/built-ins/Map/map-iterable-throws-when-set-is-not-callable.js
index d4ec50d3f..89fc9ce3c 100644
--- a/test/built-ins/Map/map-iterable-throws-when-set-is-not-callable.js
+++ b/test/built-ins/Map/map-iterable-throws-when-set-is-not-callable.js
@@ -23,5 +23,8 @@ info: |
Map.prototype.set = null;
assert.throws(TypeError, function() {
- new Map([[1,1], [2,2]]);
+ new Map([
+ [1, 1],
+ [2, 2]
+ ]);
});