()
| 428 | |
| 429 | #[test] |
| 430 | fn print_maxrows_limited_multi_batched() { |
| 431 | let output = PrintBatchesTest::new() |
| 432 | .with_format(PrintFormat::Table) |
| 433 | .with_batches(vec![ |
| 434 | one_column_batch(), |
| 435 | one_column_batch(), |
| 436 | one_column_batch(), |
| 437 | ]) |
| 438 | .with_maxrows(MaxRows::Limited(5)) |
| 439 | .run(); |
| 440 | assert_snapshot!(output, @r" |
| 441 | +---+ |
| 442 | | a | |
| 443 | +---+ |
| 444 | | 1 | |
| 445 | | 2 | |
| 446 | | 3 | |
| 447 | | 1 | |
| 448 | | 2 | |
| 449 | | . | |
| 450 | | . | |
| 451 | | . | |
| 452 | +---+ |
| 453 | "); |
| 454 | } |
| 455 | |
| 456 | #[test] |
| 457 | fn test_print_batches_empty_batches() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…