()
| 409 | |
| 410 | #[test] |
| 411 | fn print_maxrows_limited_one_batch() { |
| 412 | let output = PrintBatchesTest::new() |
| 413 | .with_format(PrintFormat::Table) |
| 414 | .with_batches(vec![one_column_batch()]) |
| 415 | .with_maxrows(MaxRows::Limited(1)) |
| 416 | .run(); |
| 417 | assert_snapshot!(output, @r" |
| 418 | +---+ |
| 419 | | a | |
| 420 | +---+ |
| 421 | | 1 | |
| 422 | | . | |
| 423 | | . | |
| 424 | | . | |
| 425 | +---+ |
| 426 | "); |
| 427 | } |
| 428 | |
| 429 | #[test] |
| 430 | fn print_maxrows_limited_multi_batched() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…