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