mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-16 17:00:53 +00:00
More tests
This commit is contained in:
parent
70280285bf
commit
3ab3bee0e1
@ -41,3 +41,8 @@ fn named_choice_plus() {
|
||||
assert!(parse_grammar(r#"grammar Foo { Expr = <n:Alt+>; }"#).is_ok());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn token_expr() {
|
||||
assert!(parse_grammar(r#"grammar Foo { token Expr where { "foo" => "bar"; } }"#).is_ok());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user