mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Merge pull request #7892 from cakebaker/uptime_refactor_uumain
uptime: refactor `uumain`
This commit is contained in:
commit
45b0c39ed7
2 changed files with 47 additions and 65 deletions
|
@ -251,7 +251,7 @@ fn test_uptime_with_extra_argument() {
|
|||
.arg("a")
|
||||
.arg("b")
|
||||
.fails()
|
||||
.stderr_contains("extra operand 'b'");
|
||||
.stderr_contains("unexpected value 'b'");
|
||||
}
|
||||
/// Checks whether uptime displays the correct stderr msg when its called with a directory
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue