mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
cp: one more clippy fix
This commit is contained in:
parent
315bfd65a3
commit
32526e3048
1 changed files with 3 additions and 3 deletions
|
@ -1397,9 +1397,9 @@ pub fn paths_refer_to_same_file(p1: &Path, p2: &Path) -> io::Result<bool> {
|
||||||
fn test_cp_localize_to_target() {
|
fn test_cp_localize_to_target() {
|
||||||
assert!(
|
assert!(
|
||||||
localize_to_target(
|
localize_to_target(
|
||||||
&Path::new("a/source/"),
|
Path::new("a/source/"),
|
||||||
&Path::new("a/source/c.txt"),
|
Path::new("a/source/c.txt"),
|
||||||
&Path::new("target/")
|
Path::new("target/")
|
||||||
)
|
)
|
||||||
.unwrap()
|
.unwrap()
|
||||||
== Path::new("target/c.txt")
|
== Path::new("target/c.txt")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue