Skip to content

Commit 5aeb6a0

Browse files
committed
🔥 Remove unnecessary extract step from numeric_owner test
The extract step was left behind after removing the ineffective diff() call. This test verifies --numeric-owner strips uname/gname, which is fully covered by the archive::for_each_entry assertion. The extract step had no assertions and tested nothing.
1 parent 9e746d6 commit 5aeb6a0

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

cli/tests/cli/create/numeric_owner.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,4 @@ fn create_numeric_owner() {
2828
assert_eq!(p.gname(), "");
2929
})
3030
.unwrap();
31-
cli::Cli::try_parse_from([
32-
"pna",
33-
"--quiet",
34-
"x",
35-
"numeric_owner/numeric_owner.pna",
36-
"--overwrite",
37-
"--out-dir",
38-
"numeric_owner/out/",
39-
"--keep-permission",
40-
"--strip-components",
41-
"2",
42-
#[cfg(windows)]
43-
"--unstable",
44-
])
45-
.unwrap()
46-
.execute()
47-
.unwrap();
4831
}

0 commit comments

Comments
 (0)