1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

refactor(ln): move to clap

This commit is contained in:
Sylvestre Ledru 2021-01-02 22:35:03 +01:00
parent 90722c1f3c
commit 7f1d47b77a
4 changed files with 160 additions and 114 deletions

View file

@ -322,11 +322,7 @@ fn test_symlink_errors() {
// $ ln -T -t a b
// ln: cannot combine --target-directory (-t) and --no-target-directory (-T)
ucmd.args(&["-T", "-t", dir, file_a, file_b])
.fails()
.stderr_is(
"ln: error: cannot combine --target-directory (-t) and --no-target-directory \
(-T)\n",
);
.fails();
}
#[test]