mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-28 06:01:02 +00:00
break apart the unit
tests into two
This commit is contained in:
parent
5c0d15b40f
commit
3b3c1719f7
@ -401,6 +401,10 @@ fn issue_55_test1() {
|
|||||||
#[test]
|
#[test]
|
||||||
fn unit_test1() {
|
fn unit_test1() {
|
||||||
assert!(unit::parse_Expr("3 + 4 * 5").is_ok());
|
assert!(unit::parse_Expr("3 + 4 * 5").is_ok());
|
||||||
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn unit_test2() {
|
||||||
assert!(unit::parse_Expr("3 + +").is_err());
|
assert!(unit::parse_Expr("3 + +").is_err());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user