diff options
Diffstat (limited to 'chomp-macro/tests/sheep.rs')
-rw-r--r-- | chomp-macro/tests/sheep.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chomp-macro/tests/sheep.rs b/chomp-macro/tests/sheep.rs deleted file mode 100644 index 862e810..0000000 --- a/chomp-macro/tests/sheep.rs +++ /dev/null @@ -1,15 +0,0 @@ -chomp_macro::nibble! { - let opt(x) = _ | x; - let plus(x) = [rec](x . opt(rec)); - match "ba" . plus("a"); -} - -#[test] -fn baa() { - Ast::parse_str("baa").unwrap(); -} - -#[test] -fn baaaaaaaaaaaaaaa() { - Ast::parse_str("baaaaaaaaaaaaaaa").unwrap(); -} |