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

Unified Diff: test/mjsunit/modules-relative-path.js

Issue 2393243002: [modules] Add basic path normalization to d8's module loader (Closed)
Patch Set: Review comments, add test Created 4 years, 2 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 | « src/d8.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/modules-relative-path.js
diff --git a/test/mjsunit/modules-fail-star-exports-conflict.js b/test/mjsunit/modules-relative-path.js
similarity index 54%
copy from test/mjsunit/modules-fail-star-exports-conflict.js
copy to test/mjsunit/modules-relative-path.js
index 6e2b2193422e770ee4f92f2a8dc0affa3f2d62dc..7e6a37ac1c5ab18f05256aac2cf8eec8b2cd6d14 100644
--- a/test/mjsunit/modules-fail-star-exports-conflict.js
+++ b/test/mjsunit/modules-relative-path.js
@@ -4,7 +4,11 @@
//
// MODULE
-export * from "modules-skip-star-exports-conflict.js";
-export * from "modules-skip-6.js";
+import {x as y} from "./modules-relative-path.js";
+export let x = 0;
-import {a} from "modules-fail-star-exports-conflict.js";
+assertEquals(0, x);
+assertEquals(x, y);
+x++;
+assertEquals(1, x);
+assertEquals(x, y);
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698