whoami: add test to improve coverage

* tests/whoami: add windows test for issue #4614

* tests/whoami issue #4614: add all platform test
This commit is contained in:
GaryDev 2023-05-29 13:34:19 +08:00 committed by GitHub
parent 9ae9d5cd58
commit 4cc569f5f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,3 +50,8 @@ fn test_normal_compare_env() {
println!("test skipped:");
}
}
#[test]
fn test_succeeds_on_all_platforms() {
new_ucmd!().succeeds().no_stderr();
}