Skip to content
This repository was archived by the owner on Aug 20, 2021. It is now read-only.

Commit 4065b42

Browse files
committed
Fix tests
1 parent 60a09e6 commit 4065b42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/smoke.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ fn recursive_mkdir_rel() {
129129
let cwd = env::current_dir().unwrap();
130130
println!("recursive_mkdir_rel: Making: {} in cwd {} [{}]", path.display(),
131131
cwd.display(), path.exists());
132-
t!(fs::create_dir_all(&path));
132+
t!(fs::create_dir(&path));
133133
assert!(path.is_dir());
134134
t!(fs::create_dir_all(&path));
135135
assert!(path.is_dir());
@@ -153,6 +153,7 @@ fn recursive_mkdir_rel_2() {
153153
let path2 = Path::new("quux/blat");
154154
println!("recursive_mkdir_rel_2: Making: {} in cwd {}", path2.display(),
155155
cwd.display());
156+
t!(fs::create_dir("quux"));
156157
t!(fs::create_dir_all(&path2));
157158
assert!(path2.is_dir());
158159
assert!(path2.parent().unwrap().is_dir());

0 commit comments

Comments
 (0)