()
| 271 | |
| 272 | #[test] |
| 273 | fn print_csv_with_header() { |
| 274 | let output = PrintBatchesTest::new() |
| 275 | .with_format(PrintFormat::Csv) |
| 276 | .with_batches(split_batch(&three_column_batch())) |
| 277 | .with_header(WithHeader::Yes) |
| 278 | .run(); |
| 279 | assert_snapshot!(output, @r" |
| 280 | a,b,c |
| 281 | 1,4,7 |
| 282 | 2,5,8 |
| 283 | 3,6,9 |
| 284 | "); |
| 285 | } |
| 286 | |
| 287 | #[test] |
| 288 | fn print_tsv_no_header() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…