Fixed tests on windows

This commit is contained in:
veeso
2021-03-14 16:49:36 +01:00
parent 24d727dec8
commit 8a22259eba

View File

@@ -634,9 +634,7 @@ impl Localhost {
mod tests { mod tests {
use super::*; use super::*;
#[cfg(any(target_os = "unix", target_os = "macos", target_os = "linux"))]
use std::fs::File; use std::fs::File;
#[cfg(any(target_os = "unix", target_os = "macos", target_os = "linux"))]
use std::io::Write; use std::io::Write;
#[cfg(any(target_os = "unix", target_os = "macos", target_os = "linux"))] #[cfg(any(target_os = "unix", target_os = "macos", target_os = "linux"))]