1 2 3 4 5 6 7 8 9 10 11
use trycmd::TestCases; #[test] fn sqry_help_snapshot() { TestCases::new() .case("tests/cases/help_root.trycmd") .insert_var("[VERSION]", env!("CARGO_PKG_VERSION")) .unwrap() .env("COLUMNS", "100") .env("NO_COLOR", "1"); }