diff --git a/src/libstd/process.rs b/src/libstd/process.rs index 2335695ae42d4..c75a42442b241 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -1584,7 +1584,7 @@ mod tests { = if cfg!(target_os = "windows") { Command::new("cmd").args(&["/C", "mkdir ."]).output().unwrap() } else { - Command::new("mkdir").arg(".").output().unwrap() + Command::new("mkdir").arg("./").output().unwrap() }; assert!(status.code() == Some(1));