Skip to content

Commit

Permalink
w: make test linux-only
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed May 14, 2024
1 parent fcc79ef commit 9a68d92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/by-util/test_w.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ fn test_no_header() {
}

#[test]
// As of now, --short is only implemented for Linux
#[cfg(target_os = "linux")]
fn test_option_short() {
use regex::Regex;
let cmd = new_ucmd!().arg("--short").succeeds();
Expand Down

0 comments on commit 9a68d92

Please sign in to comment.