(
#[case] snapshot_name: &'a str,
#[case] args: impl IntoIterator<Item = &'a str>,
)
| 160 | )] |
| 161 | #[test] |
| 162 | fn cli_quick_test<'a>( |
| 163 | #[case] snapshot_name: &'a str, |
| 164 | #[case] args: impl IntoIterator<Item = &'a str>, |
| 165 | ) { |
| 166 | let mut settings = make_settings(); |
| 167 | settings.set_snapshot_suffix(snapshot_name); |
| 168 | let _bound = settings.bind_to_scope(); |
| 169 | |
| 170 | let mut cmd = cli(); |
| 171 | cmd.args(args); |
| 172 | |
| 173 | assert_cmd_snapshot!(cmd); |
| 174 | } |
| 175 | |
| 176 | #[test] |
| 177 | fn cli_explain_environment_overrides() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…