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/regex_fix.rs | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 chomp-macro/tests/regex_fix.rs (limited to 'chomp-macro/tests/regex_fix.rs') diff --git a/chomp-macro/tests/regex_fix.rs b/chomp-macro/tests/regex_fix.rs deleted file mode 100644 index 9842484..0000000 --- a/chomp-macro/tests/regex_fix.rs +++ /dev/null @@ -1,11 +0,0 @@ -chomp_macro::nibble! { - let opt(x) = _ | x; - let ws = [star](opt(" " . star)); - - match [rec]("a" . opt("." . ws . rec)); -} - -#[test] -fn regex_fix_cat() { - Ast::parse_str(r#"a. a"#).unwrap(); -} -- cgit v1.2.3