mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
Routine dependencies update (#533)
* Update dependencies * Replace deprecated tempdir with tempfile
This commit is contained in:
committed by
Sean McArthur
parent
989262fe6e
commit
31f71dedee
@@ -62,7 +62,7 @@ fn native2io(e: native_tls::Error) -> io::Error {
|
||||
|
||||
#[test]
|
||||
fn fetch_google() {
|
||||
drop(env_logger::init());
|
||||
drop(env_logger::try_init());
|
||||
|
||||
// First up, resolve google.com
|
||||
let addr = t!("google.com:443".to_socket_addrs()).next().unwrap();
|
||||
@@ -98,7 +98,7 @@ fn fetch_google() {
|
||||
#[cfg_attr(all(target_os = "macos", feature = "force-openssl"), ignore)]
|
||||
#[test]
|
||||
fn wrong_hostname_error() {
|
||||
drop(env_logger::init());
|
||||
drop(env_logger::try_init());
|
||||
|
||||
let addr = t!("google.com:443".to_socket_addrs()).next().unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user