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:
parent
bc61d84408
commit
a0a090c307
@ -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");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user