summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/flatten/empty-array-elements.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/flatten/empty-array-elements.js')
-rw-r--r--test/built-ins/Array/prototype/flatten/empty-array-elements.js15
1 files changed, 3 insertions, 12 deletions
diff --git a/test/built-ins/Array/prototype/flatten/empty-array-elements.js b/test/built-ins/Array/prototype/flatten/empty-array-elements.js
index 379b1e48c..cbf2ae4b0 100644
--- a/test/built-ins/Array/prototype/flatten/empty-array-elements.js
+++ b/test/built-ins/Array/prototype/flatten/empty-array-elements.js
@@ -10,15 +10,6 @@ features: [Array.prototype.flatten]
var a = {};
assert.compareArray([].flatten(), []);
-assert.compareArray([
- [],
- []
-].flatten(), []);
-assert.compareArray([
- [],
- [1]
-].flatten(), [1]);
-assert.compareArray([
- [],
- [1, a]
-].flatten(), [1, a]);
+assert.compareArray([[], []].flatten(), []);
+assert.compareArray([[], [1]].flatten(), [1]);
+assert.compareArray([[], [1, a]].flatten(), [1, a]);