summaryrefslogtreecommitdiff
path: root/chomp-macro/tests/regex_fix.rs
diff options
context:
space:
mode:
authorGreg Brown <gmb60@cam.ac.uk>2021-05-06 19:40:59 +0100
committerGreg Brown <gmb60@cam.ac.uk>2021-05-06 19:40:59 +0100
commitdfc08ff2c6580bbeb3951b223e0332546ba3b0d9 (patch)
tree60597dd9492b9c2dfa10ea610289f143dd3e41b7 /chomp-macro/tests/regex_fix.rs
parentef485d6f3e4df6e1a424ba3797388fa0bba6eb2e (diff)
Introduce lambda expressions.
Diffstat (limited to 'chomp-macro/tests/regex_fix.rs')
-rw-r--r--chomp-macro/tests/regex_fix.rs11
1 files changed, 0 insertions, 11 deletions
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();
-}