Skip to content

Commit

Permalink
tests: disable lessopen for help tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Anomalocaridid committed Dec 1, 2024
1 parent a163674 commit ef9deca
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,13 +313,19 @@ fn list_themes_to_piped_output() {
}

#[test]
#[cfg_attr(any(not(feature = "git"), target_os = "windows"), ignore)]
#[cfg_attr(
any(not(feature = "git"), feature = "lessopen", target_os = "windows"),
ignore
)]
fn short_help() {
test_help("-h", "../doc/short-help.txt");
}

#[test]
#[cfg_attr(any(not(feature = "git"), target_os = "windows"), ignore)]
#[cfg_attr(
any(not(feature = "git"), feature = "lessopen", target_os = "windows"),
ignore
)]
fn long_help() {
test_help("--help", "../doc/long-help.txt");
}
Expand Down

0 comments on commit ef9deca

Please sign in to comment.