Fix precedence parse (#298)

This commit is contained in:
JT
2021-11-06 20:31:28 +13:00
committed by GitHub
parent d401ed64ed
commit 6c31377c21
2 changed files with 31 additions and 26 deletions

View File

@ -844,3 +844,8 @@ fn update_cell_path_1() -> TestResult {
fn range_and_reduction() -> TestResult {
run_test(r#"1..6..36 | math sum"#, "148")
}
#[test]
fn precedence_of_or_groups() -> TestResult {
run_test(r#"4 mod 3 == 0 || 5 mod 5 == 0"#, "true")
}