chore: remove windows-only compiler warning in http_util.rs (#11623)

This commit is contained in:
David Sherret 2021-08-09 16:19:10 -04:00 committed by GitHub
parent 4d4ce4c4d8
commit 7600a456df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,6 @@ mod tests {
use super::*;
use crate::version;
use deno_tls::create_http_client;
use deno_tls::rustls::RootCertStore;
use std::fs::read;
fn create_test_client(ca_data: Option<Vec<u8>>) -> Client {
@ -407,7 +406,7 @@ mod tests {
let url = Url::parse("https://deno.land").unwrap();
let client = create_http_client(
version::get_user_agent(),
Some(RootCertStore::empty()), // no certs loaded at all
Some(deno_tls::rustls::RootCertStore::empty()), // no certs loaded at all
None,
None,
None,