summaryrefslogtreecommitdiff
path: root/cli/file_fetcher.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-07-19 19:49:44 +0200
committerGitHub <noreply@github.com>2020-07-19 19:49:44 +0200
commitfa61956f03491101b6ef64423ea2f1f73af26a73 (patch)
treec3800702071ca78aa4dd71bdd0a59a9bbe460bdd /cli/file_fetcher.rs
parent53adde866dd399aa2509d14508642fce37afb8f5 (diff)
Port internal TS code to JS (#6793)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'cli/file_fetcher.rs')
-rw-r--r--cli/file_fetcher.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs
index 93301d1fc..feb6e29ed 100644
--- a/cli/file_fetcher.rs
+++ b/cli/file_fetcher.rs
@@ -1461,8 +1461,8 @@ mod tests {
.await;
assert!(r.is_err());
- let p =
- std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("js/main.ts");
+ let p = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
+ .join("js2/99_main.js");
let specifier =
ModuleSpecifier::resolve_url_or_path(p.to_str().unwrap()).unwrap();
let r = fetcher
@@ -1484,8 +1484,8 @@ mod tests {
.await;
assert!(r.is_err());
- let p =
- std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("js/main.ts");
+ let p = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
+ .join("js2/99_main.js");
let specifier =
ModuleSpecifier::resolve_url_or_path(p.to_str().unwrap()).unwrap();
let r = fetcher