Fixed windows host test
This commit is contained in:
parent
24d60483f0
commit
1783a0fc35
1 changed files with 2 additions and 2 deletions
|
@ -481,8 +481,8 @@ mod tests {
|
|||
#[test]
|
||||
#[cfg(target_os = "windows")]
|
||||
fn test_host_localhost_new() {
|
||||
let host: Localhost = Localhost::new(PathBuf::from("C:\\")).ok().unwrap();
|
||||
assert_eq!(host.wrkdir, PathBuf::from("C:\\"));
|
||||
let host: Localhost = Localhost::new(PathBuf::from("C:\\users")).ok().unwrap();
|
||||
assert_eq!(host.wrkdir, PathBuf::from("C:\\users"));
|
||||
// Scan dir
|
||||
let entries = std::fs::read_dir(PathBuf::from("C:\\").as_path()).unwrap();
|
||||
let mut counter: usize = 0;
|
||||
|
|
Loading…
Reference in a new issue