summaryrefslogtreecommitdiff
path: root/tests/006_url_imports.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-09-05 11:19:39 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-09-05 22:27:23 -0400
commite4990804fad279f055decf70c794ea5f22372641 (patch)
treef673e5868a0e35df9556aeddedbe5c61334b8a93 /tests/006_url_imports.ts
parent10dc71133af211de40e29e7a7ab8c470a4a2c417 (diff)
Improve module resolution.
Windows can't handle ":" in path names, so we use a special directory format .deno/deps/localhost_PORT4545/ to represent hosts with non-default ports. Fixes #645.
Diffstat (limited to 'tests/006_url_imports.ts')
-rw-r--r--tests/006_url_imports.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/006_url_imports.ts b/tests/006_url_imports.ts
index 53dd8b876..b2c7db270 100644
--- a/tests/006_url_imports.ts
+++ b/tests/006_url_imports.ts
@@ -1,3 +1,3 @@
-import { printHello } from "http://localhost:4545/tests/subdir/print_hello.ts";
+import { printHello } from "http://localhost:4545/tests/subdir/mod2.ts";
printHello();
console.log("success");