Move where to helper (#302)

This commit is contained in:
JT
2021-11-07 15:40:44 +13:00
committed by GitHub
parent 7e070e2e5b
commit 00a8752c76
4 changed files with 56 additions and 41 deletions

View File

@@ -849,3 +849,8 @@ fn range_and_reduction() -> TestResult {
fn precedence_of_or_groups() -> TestResult {
run_test(r#"4 mod 3 == 0 || 5 mod 5 == 0"#, "true")
}
#[test]
fn where_on_ranges() -> TestResult {
run_test(r#"1..10 | where $it > 8 | math sum"#, "19")
}