1
Fork 0
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:
Sylvestre Ledru 2022-03-31 13:45:41 +02:00
parent 676283ce93
commit b3d87b088d
3 changed files with 7 additions and 7 deletions

View file

@ -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]