1
Fork 0
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:
Sylvestre Ledru 2025-05-09 22:11:44 +02:00 committed by GitHub
commit 45b0c39ed7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 47 additions and 65 deletions

View file

@ -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]