Index: test/message/arrow-strict-eval-bare-parameter.js |
diff --git a/test/mjsunit/harmony/regress/regress-arrow-duplicate-params.js b/test/message/arrow-strict-eval-bare-parameter.js |
similarity index 80% |
copy from test/mjsunit/harmony/regress/regress-arrow-duplicate-params.js |
copy to test/message/arrow-strict-eval-bare-parameter.js |
index a43f022c02d5ac942b5f7eae4b329f1beb78bfa9..d5692517dd3e59b3d359d70ab455ad1c2b0f0bad 100644 |
--- a/test/mjsunit/harmony/regress/regress-arrow-duplicate-params.js |
+++ b/test/message/arrow-strict-eval-bare-parameter.js |
@@ -1,7 +1,8 @@ |
// Copyright 2015 the V8 project authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
- |
+// |
// Flags: --harmony-arrow-functions |
-assertThrows("(x, x, y) => 10;", SyntaxError); |
+"use strict"; |
+eval => 42 |