(query: &str)
| 521 | } |
| 522 | |
| 523 | fn format_single_stmt(query: &str) -> String { |
| 524 | use itertools::Itertools; |
| 525 | let stmt = crate::prql_to_pl(query) |
| 526 | .unwrap() |
| 527 | .stmts |
| 528 | .into_iter() |
| 529 | .exactly_one() |
| 530 | .unwrap(); |
| 531 | stmt.write(WriteOpt::default()).unwrap() |
| 532 | } |
| 533 | |
| 534 | #[test] |
| 535 | fn test_pipeline() { |
no test coverage detected