(#[case] format: &'a str)
| 197 | #[case("automatic")] |
| 198 | #[test] |
| 199 | fn test_cli_format<'a>(#[case] format: &'a str) { |
| 200 | let mut settings = make_settings(); |
| 201 | settings.set_snapshot_suffix(format); |
| 202 | let _bound = settings.bind_to_scope(); |
| 203 | |
| 204 | let mut cmd = cli(); |
| 205 | cmd.args(["--command", "select 1", "-q", "--format", format]); |
| 206 | |
| 207 | assert_cmd_snapshot!(cmd); |
| 208 | } |
| 209 | |
| 210 | #[rstest] |
| 211 | #[case("no_track", ["--top-memory-consumers", "0"])] |
nothing calls this directly
no test coverage detected
searching dependent graphs…