Skip to content

Commit

Permalink
whoami: add test to improve coverage
Browse files Browse the repository at this point in the history
* tests/whoami: add windows test for issue #4614

* tests/whoami issue #4614: add all platform test
  • Loading branch information
garydev10 authored May 29, 2023
1 parent 9ae9d5c commit 4cc569f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/by-util/test_whoami.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,8 @@ fn test_normal_compare_env() {
println!("test skipped:");
}
}

#[test]
fn test_succeeds_on_all_platforms() {
new_ucmd!().succeeds().no_stderr();
}

0 comments on commit 4cc569f

Please sign in to comment.