Skip to content

Commit 00a7c41

Browse files
committed
ci: fix warning in windows build
1 parent 1ab0b2f commit 00a7c41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_exact_output.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use assert_cmd::Command;
22
use std::ffi::OsStr;
33
use std::process::Output;
44
use std::sync::Once;
5-
use std::{fs, io, str};
5+
use std::{io, str};
66

77
static INIT: Once = Once::new();
88
static UNREADABLE_DIR_PATH: &str = "/tmp/unreadable_dir";
@@ -38,6 +38,7 @@ fn copy_test_data(dir: &str) {
3838
fn create_unreadable_directory() -> io::Result<()> {
3939
#[cfg(unix)]
4040
{
41+
use std::fs;
4142
use std::fs::Permissions;
4243
use std::os::unix::fs::PermissionsExt;
4344
fs::create_dir_all(UNREADABLE_DIR_PATH)?;

0 commit comments

Comments
 (0)