Index: test/mjsunit/harmony/regress/regress-4298.js |
diff --git a/test/message/arrow-bare-rest-param.js b/test/mjsunit/harmony/regress/regress-4298.js |
similarity index 65% |
copy from test/message/arrow-bare-rest-param.js |
copy to test/mjsunit/harmony/regress/regress-4298.js |
index 9b3916d95952e7eb3f5cd61d02f634a994071c43..98e69d1acf0ea4eb925f75c95c3b3b5fcc0854bf 100644 |
--- a/test/message/arrow-bare-rest-param.js |
+++ b/test/mjsunit/harmony/regress/regress-4298.js |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
// |
-// Flags: --harmony-rest-parameters --harmony-arrow-functions |
+// Flags: --harmony-spread-arrays |
-...x => 10 |
+var arr = [1, 2, ...[3]]; |
+assertEquals([1, 2, 3], arr); |