mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 11:35:45 +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()
|
crate::utils::cargo_bin()
|
||||||
.arg("compress")
|
.arg("compress")
|
||||||
.args([
|
.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("file4.txt"))?.path(),
|
||||||
fs::File::create(source_path.join("file5.txt"))?.path(),
|
fs::File::create(source_path.join("file5.txt"))?.path(),
|
||||||
fs::File::create(source_path.join("file6.txt"))?.path(),
|
|
||||||
])
|
])
|
||||||
.arg(&archive1)
|
.arg(&archive1)
|
||||||
.assert()
|
.assert()
|
||||||
@ -666,5 +666,5 @@ fn unpack_multiple_sources_into_the_same_destination_with_merge(
|
|||||||
.assert()
|
.assert()
|
||||||
.success();
|
.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