1 2 3 4 5 6 7 8 9 10 11 12 13
use trycmd::TestCases; #[test] fn validate_outputs() { #[cfg(target_os = "linux")] TestCases::new() .case("tests/cmd/*.toml") .case("README.md") .run(); #[cfg(not(target_os = "linux"))] TestCases::new().case("tests/cmd/*.toml").run(); }