mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
chore: remove windows-only compiler warning in http_util.rs (#11623)
This commit is contained in:
parent
4d4ce4c4d8
commit
7600a456df
1 changed files with 1 additions and 2 deletions
|
@ -141,7 +141,6 @@ mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::version;
|
use crate::version;
|
||||||
use deno_tls::create_http_client;
|
use deno_tls::create_http_client;
|
||||||
use deno_tls::rustls::RootCertStore;
|
|
||||||
use std::fs::read;
|
use std::fs::read;
|
||||||
|
|
||||||
fn create_test_client(ca_data: Option<Vec<u8>>) -> Client {
|
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 url = Url::parse("https://deno.land").unwrap();
|
||||||
let client = create_http_client(
|
let client = create_http_client(
|
||||||
version::get_user_agent(),
|
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,
|
None,
|
||||||
None,
|
None,
|
||||||
|
|
Loading…
Reference in a new issue