From c19946bb6d697fcf1e299729c83c8d12e25f52f8 Mon Sep 17 00:00:00 2001 From: greg Date: Tue, 12 Sep 2017 02:33:21 -0700 Subject: [PATCH] Additional test --- src/schala_lang/parsing.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/schala_lang/parsing.rs b/src/schala_lang/parsing.rs index 4b7f7c1..0b99654 100644 --- a/src/schala_lang/parsing.rs +++ b/src/schala_lang/parsing.rs @@ -548,5 +548,8 @@ mod parse_tests { fn test_parsing() { parse_test!("8.1", AST(vec![Expression(FloatLiteral(8.1))])); parse_test!("0b010", AST(vec![Expression(IntLiteral(2))])); + parse_test!("3; 4; 4.3", AST( + vec![Expression(IntLiteral(3)), Expression(IntLiteral(4)), + Expression(FloatLiteral(4.3))])); } }