mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 12:05:46 +00:00
test: make_dummy_files: return an error instead of panicking
This commit is contained in:
parent
908f8e4e93
commit
e7eb55a4cf
@ -20,7 +20,6 @@ where
|
|||||||
let _ = paths
|
let _ = paths
|
||||||
.iter()
|
.iter()
|
||||||
.map(make_dummy_file)
|
.map(make_dummy_file)
|
||||||
.map(Result::unwrap)
|
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user