mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
remove unnecessary 'to_owned'
This commit is contained in:
parent
8bb6c4effa
commit
f4c6ea0ee8
2 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@ fn test_piped_to_dev_full() {
|
||||||
.set_stdout(dev_full)
|
.set_stdout(dev_full)
|
||||||
.pipe_in_fixture("alpha.txt")
|
.pipe_in_fixture("alpha.txt")
|
||||||
.fails()
|
.fails()
|
||||||
.stderr_contains(&"No space left on device".to_owned());
|
.stderr_contains("No space left on device");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -263,7 +263,7 @@ fn test_mv_same_file_dot_dir() {
|
||||||
ucmd.arg(".")
|
ucmd.arg(".")
|
||||||
.arg(".")
|
.arg(".")
|
||||||
.fails()
|
.fails()
|
||||||
.stderr_is("mv: '.' and '.' are the same file\n".to_string());
|
.stderr_is("mv: '.' and '.' are the same file\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue