Make this test conform to new if syntax
This commit is contained in:
parent
44d1f4692f
commit
2c34ab52c4
@ -774,7 +774,7 @@ fn imports_4() {
|
||||
#[test]
|
||||
fn if_expr() {
|
||||
parse_test_wrap_ast! {
|
||||
"if x { 1 then 5, else 20 }",
|
||||
"if x { is 1 then 5, else 20 }",
|
||||
exst! {
|
||||
IfExpression {
|
||||
discriminator: Some(bx!(ex!(s "x"))),
|
||||
|
Loading…
Reference in New Issue
Block a user