mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
chgrp: fix clippy warning
This commit is contained in:
parent
9054a24fb7
commit
0579233b2d
1 changed files with 2 additions and 4 deletions
|
@ -124,10 +124,8 @@ fn test_preserve_root_symlink() {
|
||||||
] {
|
] {
|
||||||
let (at, mut ucmd) = at_and_ucmd!();
|
let (at, mut ucmd) = at_and_ucmd!();
|
||||||
at.symlink_file(d, file);
|
at.symlink_file(d, file);
|
||||||
let expected_error = format!(
|
let expected_error =
|
||||||
"chgrp: it is dangerous to operate recursively on 'test_chgrp_symlink2root' (same as '/')\nchgrp: use --no-preserve-root to override this failsafe\n",
|
"chgrp: it is dangerous to operate recursively on 'test_chgrp_symlink2root' (same as '/')\nchgrp: use --no-preserve-root to override this failsafe\n";
|
||||||
//d,
|
|
||||||
);
|
|
||||||
ucmd.arg("--preserve-root")
|
ucmd.arg("--preserve-root")
|
||||||
.arg("-HR")
|
.arg("-HR")
|
||||||
.arg("bin")
|
.arg("bin")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue