()
| 315 | |
| 316 | #[test] |
| 317 | fn print_table() { |
| 318 | let output = PrintBatchesTest::new() |
| 319 | .with_format(PrintFormat::Table) |
| 320 | .with_batches(split_batch(&three_column_batch())) |
| 321 | .with_header(WithHeader::Ignored) |
| 322 | .run(); |
| 323 | assert_snapshot!(output, @r" |
| 324 | +---+---+---+ |
| 325 | | a | b | c | |
| 326 | +---+---+---+ |
| 327 | | 1 | 4 | 7 | |
| 328 | | 2 | 5 | 8 | |
| 329 | | 3 | 6 | 9 | |
| 330 | +---+---+---+ |
| 331 | "); |
| 332 | } |
| 333 | #[test] |
| 334 | fn print_json() { |
| 335 | let output = PrintBatchesTest::new() |
nothing calls this directly
no test coverage detected
searching dependent graphs…