mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
chgrp: fix clippy warning
This commit is contained in:
@@ -124,10 +124,8 @@ fn test_preserve_root_symlink() {
|
||||
] {
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
at.symlink_file(d, file);
|
||||
let expected_error = format!(
|
||||
"chgrp: it is dangerous to operate recursively on 'test_chgrp_symlink2root' (same as '/')\nchgrp: use --no-preserve-root to override this failsafe\n",
|
||||
//d,
|
||||
);
|
||||
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";
|
||||
ucmd.arg("--preserve-root")
|
||||
.arg("-HR")
|
||||
.arg("bin")
|
||||
|
||||
Reference in New Issue
Block a user