mirror of
https://github.com/eza-community/eza
synced 2024-09-30 05:06:30 +00:00
2273e29bc0
Picked from #592
35 lines
691 B
Rust
35 lines
691 B
Rust
#[test]
|
|
fn cli_all_tests() {
|
|
trycmd::TestCases::new().case("tests/cmd/*_all.toml");
|
|
}
|
|
|
|
#[test]
|
|
#[cfg(unix)]
|
|
fn cli_unix_tests() {
|
|
trycmd::TestCases::new().case("tests/cmd/*_unix.toml");
|
|
}
|
|
|
|
#[test]
|
|
#[cfg(windows)]
|
|
fn cli_windows_tests() {
|
|
trycmd::TestCases::new().case("tests/cmd/*_windows.toml");
|
|
}
|
|
|
|
#[test]
|
|
#[cfg(feature = "nix-local")]
|
|
fn cli_nix_local_tests() {
|
|
trycmd::TestCases::new().case("tests/cmd/*_nix_local.toml");
|
|
}
|
|
|
|
#[test]
|
|
#[cfg(feature = "powertest")]
|
|
fn cli_powertest_tests() {
|
|
trycmd::TestCases::new().case("tests/ptests/*.toml");
|
|
}
|
|
|
|
#[test]
|
|
#[cfg(feature = "nix")]
|
|
fn cli_nix_generated_tests() {
|
|
trycmd::TestCases::new().case("tests/gen/*.toml");
|
|
}
|