Additional test
This commit is contained in:
parent
d1301b30e6
commit
c19946bb6d
@ -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))]));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user