(input: &str)
| 516 | |
| 517 | #[track_caller] |
| 518 | fn assert_is_formatted(input: &str) { |
| 519 | let formatted = format_single_stmt(input); |
| 520 | similar_asserts::assert_eq!(input.trim(), formatted.trim()); |
| 521 | } |
| 522 | |
| 523 | fn format_single_stmt(query: &str) -> String { |
| 524 | use itertools::Itertools; |