summaryrefslogtreecommitdiff
path: root/chomp-macro/tests/regex.rs
diff options
context:
space:
mode:
Diffstat (limited to 'chomp-macro/tests/regex.rs')
-rw-r--r--chomp-macro/tests/regex.rs27
1 files changed, 0 insertions, 27 deletions
diff --git a/chomp-macro/tests/regex.rs b/chomp-macro/tests/regex.rs
deleted file mode 100644
index 1e831b4..0000000
--- a/chomp-macro/tests/regex.rs
+++ /dev/null
@@ -1,27 +0,0 @@
-chomp_macro::nibble! {
- let opt(x) = _ | x;
- let plus(x) = [plus](x . opt(plus));
- let star(x) = [star](opt(x . star));
-
- match plus("a") . star("b");
-}
-
-#[test]
-fn regex_a() {
- Ast::parse_str("a").unwrap();
-}
-
-#[test]
-fn regex_ab() {
- Ast::parse_str("ab").unwrap();
-}
-
-#[test]
-fn regex_aa() {
- Ast::parse_str("aa").unwrap();
-}
-
-#[test]
-fn regex_aaaabbb() {
- Ast::parse_str("aaaabbb").unwrap();
-}