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

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

Issue 2362153003: [modules] Support star exports. (Closed)
Patch Set: Address comments. 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-fail-8.js ('k') | test/mjsunit/modules-imports7.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/modules-imports6.js
diff --git a/test/mjsunit/modules-imports4.js b/test/mjsunit/modules-imports6.js
similarity index 70%
copy from test/mjsunit/modules-imports4.js
copy to test/mjsunit/modules-imports6.js
index 4d734878aa08bcb07c924b06d933a3889cbadc97..4cb117a98d99536e01b30f175c59c89a38c32376 100644
--- a/test/mjsunit/modules-imports4.js
+++ b/test/mjsunit/modules-imports6.js
@@ -4,11 +4,8 @@
//
// MODULE
-import {b, c} from "modules-skip-2.js";
-import {a, set_a} from "modules-skip-1.js";
-import x from "modules-skip-2.js";
-
-assertEquals(42, x);
+import {b, c} from "modules-skip-4.js";
+import {a, set_a} from "modules-skip-4.js";
assertEquals(1, a);
assertEquals(1, b);
@@ -26,6 +23,3 @@ assertThrows(() => c = 3, TypeError);
assertEquals(2, a);
assertEquals(2, b);
assertEquals(2, c);
-
-assertThrows(() => x = 43, TypeError);
-assertEquals(42, x);
« no previous file with comments | « test/mjsunit/modules-fail-8.js ('k') | test/mjsunit/modules-imports7.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698