mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-05 02:55:31 +00:00
update test case
Signed-off-by: tommady <tommady@users.noreply.github.com>
This commit is contained in:
parent
8dda510a73
commit
c4fa665cd3
@ -638,9 +638,9 @@ fn unpack_multiple_sources_into_the_same_destination_with_merge(
|
||||
crate::utils::cargo_bin()
|
||||
.arg("compress")
|
||||
.args([
|
||||
fs::File::create(source_path.join("file3.txt"))?.path(),
|
||||
fs::File::create(source_path.join("file4.txt"))?.path(),
|
||||
fs::File::create(source_path.join("file5.txt"))?.path(),
|
||||
fs::File::create(source_path.join("file6.txt"))?.path(),
|
||||
])
|
||||
.arg(&archive1)
|
||||
.assert()
|
||||
@ -666,5 +666,5 @@ fn unpack_multiple_sources_into_the_same_destination_with_merge(
|
||||
.assert()
|
||||
.success();
|
||||
|
||||
assert_eq!(6, out_path.as_path().read_dir()?.count());
|
||||
assert_eq!(5, out_path.as_path().read_dir()?.count());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user