diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index cd5c0846..da812f07 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -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"); }