diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2021-12-08 19:12:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-08 19:12:14 -0500 |
| commit | 1507b8c9843262d6514ed61fdba115671dfb7bfe (patch) | |
| tree | 963e47cf71c5f4bdd457308c3f82becc106c9d27 /cli/http_util.rs | |
| parent | 318f48f9adc486e95dcc5f86fd0a1848c6df51f6 (diff) | |
fix: upgrade swc fixing many bundling and `--no-check` bugs (#13025)
Diffstat (limited to 'cli/http_util.rs')
| -rw-r--r-- | cli/http_util.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/http_util.rs b/cli/http_util.rs index c66fa32d3..87ed7d598 100644 --- a/cli/http_util.rs +++ b/cli/http_util.rs @@ -149,7 +149,6 @@ mod tests { use super::*; use crate::version; use deno_runtime::deno_fetch::create_http_client; - use deno_runtime::deno_tls::rustls::RootCertStore; use std::fs::read; fn create_test_client() -> Client { @@ -409,6 +408,8 @@ mod tests { #[cfg(not(windows))] #[tokio::test] async fn test_fetch_with_empty_certificate_store() { + use deno_runtime::deno_tls::rustls::RootCertStore; + let _http_server_guard = test_util::http_server(); // Relies on external http server with a valid mozilla root CA cert. let url = Url::parse("https://deno.land").unwrap(); |
