mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-31 13:07:46 +00:00
Merge pull request #2247 from jfinkels/truncate-split-three-functions
truncate: re-organize truncate() into one function for each mode of operation
This commit is contained in:
commit
3d42d41a72
2 changed files with 239 additions and 103 deletions
|
@ -262,3 +262,11 @@ fn test_reference_file_not_found() {
|
|||
.fails()
|
||||
.stderr_contains("cannot stat 'a': No such file or directory");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_reference_with_size_file_not_found() {
|
||||
new_ucmd!()
|
||||
.args(&["-r", "a", "-s", "+1", "b"])
|
||||
.fails()
|
||||
.stderr_contains("cannot stat 'a': No such file or directory");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue