One more test
This commit is contained in:
parent
fbb0269623
commit
8d7f8f555f
@ -1081,7 +1081,7 @@ fn imports() {
|
|||||||
#[test]
|
#[test]
|
||||||
fn if_exprs() {
|
fn if_exprs() {
|
||||||
use ExpressionKind::*;
|
use ExpressionKind::*;
|
||||||
assert_expr!(
|
assert_expr2!(
|
||||||
"if a() then { tuah(); }",
|
"if a() then { tuah(); }",
|
||||||
expr(IfExpression {
|
expr(IfExpression {
|
||||||
discriminator: Some(bx(expr(Call { f: bx(expr(Value(qn!(a)))), arguments: vec![] }))),
|
discriminator: Some(bx(expr(Call { f: bx(expr(Value(qn!(a)))), arguments: vec![] }))),
|
||||||
|
Loading…
Reference in New Issue
Block a user