()
| 332 | } |
| 333 | #[test] |
| 334 | fn print_json() { |
| 335 | let output = PrintBatchesTest::new() |
| 336 | .with_format(PrintFormat::Json) |
| 337 | .with_batches(split_batch(&three_column_batch())) |
| 338 | .with_header(WithHeader::Ignored) |
| 339 | .run(); |
| 340 | assert_snapshot!(output, @r#"[{"a":1,"b":4,"c":7},{"a":2,"b":5,"c":8},{"a":3,"b":6,"c":9}]"#); |
| 341 | } |
| 342 | |
| 343 | #[test] |
| 344 | fn print_ndjson() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…