From 4b5afef17e4532d6e4911e79552701624fef1d4d Mon Sep 17 00:00:00 2001 From: greg Date: Tue, 12 Sep 2017 15:52:23 -0700 Subject: [PATCH] Added one more test --- src/schala_lang/parsing.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/schala_lang/parsing.rs b/src/schala_lang/parsing.rs index 5e5e18d..3e2ce08 100644 --- a/src/schala_lang/parsing.rs +++ b/src/schala_lang/parsing.rs @@ -598,5 +598,9 @@ mod parse_tests { [ Expression(binexp!(op!("+"), binexp!(op!("*"), IntLiteral(1), IntLiteral(2)), IntLiteral(3))) ])); + + parse_test!("1 && 2", AST(vec![Expression(binexp!(op!("&&"), IntLiteral(1), IntLiteral(2)))])); + + } }