From a48bb61eb319bba930bb05002b482fc1e63469e7 Mon Sep 17 00:00:00 2001 From: greg Date: Sat, 5 Oct 2019 16:41:51 -0700 Subject: [PATCH] Get rid of this test need to rethink how if-expressions should work --- schala-lang/language/src/parsing/test.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/schala-lang/language/src/parsing/test.rs b/schala-lang/language/src/parsing/test.rs index 39d98b7..bd0e0f5 100644 --- a/schala-lang/language/src/parsing/test.rs +++ b/schala-lang/language/src/parsing/test.rs @@ -340,24 +340,6 @@ fn parsing_bindings() { )); } -#[test] -fn parsing_if_expressions() { - parse_test_wrap_ast! { - "if x == 10 { 1 } else { 2 }", - exst!(IfExpression { - discriminator: bx! { - Discriminator::Simple(ex!(Call { f: bx!(ex!(val!("a"))), arguments: vec![]})) - }, - body: bx! { - IfExpressionBody::SimpleConditional( - vec![exst!(Call { f: bx!(ex!(val!("b"))), arguments: vec![]}), exst!(Call { f: bx!(ex!(val!("c"))), arguments: vec![] })], - None - ) - } - }) - } -} - #[test] fn parsing_block_expressions() { parse_test_wrap_ast! {