mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 14:15:53 +02:00
Fix precedence parse (#298)
This commit is contained in:
@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user