()
| 342 | |
| 343 | #[test] |
| 344 | fn print_ndjson() { |
| 345 | let output = PrintBatchesTest::new() |
| 346 | .with_format(PrintFormat::NdJson) |
| 347 | .with_batches(split_batch(&three_column_batch())) |
| 348 | .with_header(WithHeader::Ignored) |
| 349 | .run(); |
| 350 | assert_snapshot!(output, @r#" |
| 351 | {"a":1,"b":4,"c":7} |
| 352 | {"a":2,"b":5,"c":8} |
| 353 | {"a":3,"b":6,"c":9} |
| 354 | "#); |
| 355 | } |
| 356 | |
| 357 | #[test] |
| 358 | fn print_automatic_no_header() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…