From 2c34ab52c4a187cf380a02b9d044f04f72722713 Mon Sep 17 00:00:00 2001 From: greg Date: Fri, 11 Oct 2019 09:13:09 -0700 Subject: [PATCH] Make this test conform to new if syntax --- schala-lang/language/src/parsing/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schala-lang/language/src/parsing/test.rs b/schala-lang/language/src/parsing/test.rs index 3b0af5e..6059842 100644 --- a/schala-lang/language/src/parsing/test.rs +++ b/schala-lang/language/src/parsing/test.rs @@ -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"))),