()
| 634 | |
| 635 | #[test] |
| 636 | fn print_maxrows_limited_wide_table() { |
| 637 | let output = PrintBatchesTest::new() |
| 638 | .with_format(PrintFormat::Table) |
| 639 | .with_batches(vec![wide_column_batch()]) |
| 640 | .with_maxrows(MaxRows::Limited(1)) |
| 641 | .run(); |
| 642 | assert_snapshot!(output, @r" |
| 643 | +----+----+----+----+----+----+----+----+----+----+ |
| 644 | | c0 | c1 | c2 | c3 | c4 | c5 | c6 | c7 | c8 | c9 | |
| 645 | +----+----+----+----+----+----+----+----+----+----+ |
| 646 | | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 647 | | . | |
| 648 | | . | |
| 649 | | . | |
| 650 | +----+----+----+----+----+----+----+----+----+----+ |
| 651 | "); |
| 652 | } |
| 653 | |
| 654 | /// return a schema with many columns (to exercise wide table formatting) |
| 655 | fn wide_column_schema() -> SchemaRef { |
nothing calls this directly
no test coverage detected
searching dependent graphs…