mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
rm: return UResult from uumain() function
This commit is contained in:
parent
4ae838a8b2
commit
f6305e2a3e
2 changed files with 14 additions and 10 deletions
|
@ -280,7 +280,7 @@ fn test_rm_force_no_operand() {
|
|||
fn test_rm_no_operand() {
|
||||
let ts = TestScenario::new(util_name!());
|
||||
ts.ucmd().fails().stderr_is(&format!(
|
||||
"{0}: missing an argument\n{0}: for help, try '{1} {0} --help'\n",
|
||||
"{0}: missing operand\nTry '{1} {0} --help' for more information.\n",
|
||||
ts.util_name,
|
||||
ts.bin_path.to_string_lossy()
|
||||
));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue