summaryrefslogtreecommitdiff
path: root/test/built-ins/Map/prototype/clear/returns-undefined.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Map/prototype/clear/returns-undefined.js')
-rw-r--r--test/built-ins/Map/prototype/clear/returns-undefined.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/built-ins/Map/prototype/clear/returns-undefined.js b/test/built-ins/Map/prototype/clear/returns-undefined.js
index 1e1d662aa..ce4cfcff2 100644
--- a/test/built-ins/Map/prototype/clear/returns-undefined.js
+++ b/test/built-ins/Map/prototype/clear/returns-undefined.js
@@ -16,7 +16,10 @@ info: |
6. Return undefined.
---*/
-var m1 = new Map([['foo', 'bar'], [1, 1]]);
+var m1 = new Map([
+ ['foo', 'bar'],
+ [1, 1]
+]);
assert.sameValue(m1.clear(), undefined, 'clears a map and returns undefined');
assert.sameValue(m1.clear(), undefined, 'returns undefined on an empty map');