From dfc08ff2c6580bbeb3951b223e0332546ba3b0d9 Mon Sep 17 00:00:00 2001 From: Greg Brown Date: Thu, 6 May 2021 19:40:59 +0100 Subject: Introduce lambda expressions. --- chomp-macro/tests/ratata.rs | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 chomp-macro/tests/ratata.rs (limited to 'chomp-macro/tests/ratata.rs') 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(); -} -- cgit v1.2.3