tests: disable lessopen for help tests

This commit is contained in:
Anomalocaridid committed 2025-01-05 21:36:33 +00:00
1 parent bc61d84408
commit a0a090c307
1 file changed
+8 -2
+8 -2
View File
@@ -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");
}