Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3220)

Unified Diff: test/mjsunit/modules-imports5.js

Issue 2362083002: [modules] Do basic linking. (Closed)
Patch Set: Rename files because the presubmit tool is so fragile. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/modules-imports4.js ('k') | test/mjsunit/modules-skip-1.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/modules-imports5.js
diff --git a/test/mjsunit/modules-this.js b/test/mjsunit/modules-imports5.js
similarity index 68%
copy from test/mjsunit/modules-this.js
copy to test/mjsunit/modules-imports5.js
index 2c8fc74fe75aec57d5ab0df2370edbd43ed3a988..b494c7e1a76327453594512cebf138927ccce9fc 100644
--- a/test/mjsunit/modules-this.js
+++ b/test/mjsunit/modules-imports5.js
@@ -1,7 +1,9 @@
// 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 {a} from "modules-skip-3.js";
+export var b = 20;
+assertEquals(42, a+b);
« no previous file with comments | « test/mjsunit/modules-imports4.js ('k') | test/mjsunit/modules-skip-1.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698