Added one more test

This commit is contained in:
greg 2017-09-12 15:52:23 -07:00
parent 5889998126
commit 4b5afef17e

View File

@ -598,5 +598,9 @@ mod parse_tests {
[ [
Expression(binexp!(op!("+"), binexp!(op!("*"), IntLiteral(1), IntLiteral(2)), IntLiteral(3))) Expression(binexp!(op!("+"), binexp!(op!("*"), IntLiteral(1), IntLiteral(2)), IntLiteral(3)))
])); ]));
parse_test!("1 && 2", AST(vec![Expression(binexp!(op!("&&"), IntLiteral(1), IntLiteral(2)))]));
} }
} }