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

Function test_unary

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

Source from the content-addressed store, hash-verified

592
593 #[test]
594 fn test_unary() {
595 assert_is_formatted(r#"sort {-duration}"#);
596
597 assert_is_formatted(r#"select a = -b"#);
598 assert_is_formatted(r#"join `project-bar.dataset.table` (==col_bax)"#);
599 }
600
601 #[test]
602 fn test_binary() {

Callers

nothing calls this directly

Calls 1

assert_is_formattedFunction · 0.85

Tested by

no test coverage detected