Skip to content

Commit a88c9cf

Browse files
committed
fix test to parse a + b + c
behavior is still broken
1 parent d7946b6 commit a88c9cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/parser-torture-tests/precedence.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ fn mul_is_higher_precedence() {
4040
#[test]
4141
// FIXME #[should_panic(expected = "ambiguous parse")]
4242
fn equal_precedence_panics() {
43-
let term: Expr = crate::ptt::term("a + b * c");
43+
let term: Expr = crate::ptt::term("a + b + c");
4444
expect_test::expect![[r#"
4545
Add(
4646
Id(
4747
a,
4848
),
49-
Mul(
49+
Add(
5050
Id(
5151
b,
5252
),

0 commit comments

Comments
 (0)