mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
ln: adjust the error messages
This commit is contained in:
parent
676283ce93
commit
b3d87b088d
3 changed files with 7 additions and 7 deletions
|
@ -622,7 +622,7 @@ fn test_backup_same_file() {
|
|||
at.touch("file1");
|
||||
ucmd.args(&["--backup", "file1", "./file1"])
|
||||
.fails()
|
||||
.stderr_contains("'file1' and './file1' are the same file");
|
||||
.stderr_contains("n: failed to link 'file1' to './file1': Same file");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue