From 104aebdfb5d01f7482bacef6d58c2ce16da44334 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 16 Sep 2020 14:28:07 -0400 Subject: Re-export deno_core::url (#7525) Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI. --- cli/info.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/info.rs') diff --git a/cli/info.rs b/cli/info.rs index 7b5c0151b..62ec5c16e 100644 --- a/cli/info.rs +++ b/cli/info.rs @@ -408,6 +408,7 @@ mod test { use crate::ast::Location; use crate::media_type::MediaType; use crate::module_graph::ImportDescriptor; + use deno_core::url::Url; #[test] fn human_size_test() { @@ -441,9 +442,8 @@ mod test { imports: Vec, redirect: Option, ) -> (ModuleGraphFile, ModuleSpecifier) { - let spec = ModuleSpecifier::from( - url::Url::parse(&format!("http://{}", name)).unwrap(), - ); + let spec = + ModuleSpecifier::from(Url::parse(&format!("http://{}", name)).unwrap()); let file = ModuleGraphFile { filename: "name".to_string(), imports: imports -- cgit v1.2.3