We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ab0b2f commit 00a7c41Copy full SHA for 00a7c41
tests/test_exact_output.rs
@@ -2,7 +2,7 @@ use assert_cmd::Command;
2
use std::ffi::OsStr;
3
use std::process::Output;
4
use std::sync::Once;
5
-use std::{fs, io, str};
+use std::{io, str};
6
7
static INIT: Once = Once::new();
8
static UNREADABLE_DIR_PATH: &str = "/tmp/unreadable_dir";
@@ -38,6 +38,7 @@ fn copy_test_data(dir: &str) {
38
fn create_unreadable_directory() -> io::Result<()> {
39
#[cfg(unix)]
40
{
41
+ use std::fs;
42
use std::fs::Permissions;
43
use std::os::unix::fs::PermissionsExt;
44
fs::create_dir_all(UNREADABLE_DIR_PATH)?;
0 commit comments