1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-31 02:01:05 +00:00

tests: disable lessopen for help tests

This commit is contained in:
Anomalocaridid 2024-11-30 22:22:41 -05:00
parent bc61d84408
commit a0a090c307

View File

@ -313,13 +313,19 @@ fn list_themes_to_piped_output() {
} }
#[test] #[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() { fn short_help() {
test_help("-h", "../doc/short-help.txt"); test_help("-h", "../doc/short-help.txt");
} }
#[test] #[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() { fn long_help() {
test_help("--help", "../doc/long-help.txt"); test_help("--help", "../doc/long-help.txt");
} }