Index: test/mjsunit/modules-default.js |
diff --git a/test/mjsunit/modules-this.js b/test/mjsunit/modules-default.js |
similarity index 56% |
copy from test/mjsunit/modules-this.js |
copy to test/mjsunit/modules-default.js |
index 2c8fc74fe75aec57d5ab0df2370edbd43ed3a988..304703b246fb1fd935d54e1bf5af435f65465adb 100644 |
--- a/test/mjsunit/modules-this.js |
+++ b/test/mjsunit/modules-default.js |
@@ -1,7 +1,11 @@ |
// Copyright 2016 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. |
- |
+// |
// MODULE |
-assertEquals(undefined, this); |
+import foo from "modules-skip-1.js"; |
+assertEquals(42, foo); |
+ |
+import {default as gaga} from "modules-skip-1.js"; |
+assertEquals(42, gaga); |