MCPcopy Create free account
hub / github.com/PRQL/prql / test_assign

Function test_assign

prqlc/prqlc/src/codegen/ast.rs:637–650  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

635
636 #[test]
637 fn test_assign() {
638 assert_is_formatted(
639 r#"
640group {title, country} (aggregate {
641 average salary,
642 average gross_salary,
643 sum salary,
644 sum gross_salary,
645 average gross_cost,
646 sum_gross_cost = sum gross_cost,
647 ct = count salary,
648})"#,
649 );
650 }
651 #[test]
652 fn test_range() {
653 assert_is_formatted(

Callers

nothing calls this directly

Calls 1

assert_is_formattedFunction · 0.85

Tested by

no test coverage detected