Skip to content

Commit a07f777

Browse files
authored
更新 test_install.rs
1 parent 6fe4514 commit a07f777

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/by-util/test_install.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,8 +1772,7 @@ fn test_install_failing_copy_file_to_target_contain_subdir_with_same_name() {
17721772
let dir1 = "dir1";
17731773

17741774
at.touch(file);
1775-
at.mkdir(dir1);
1776-
at.mkdir(format!("{}/{}", dir1, file));
1775+
at.mkdir_all(&format!("{dir1}/{file}"));
17771776
ucmd.arg(file)
17781777
.arg(dir1)
17791778
.fails()

0 commit comments

Comments
 (0)