Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/mbe/src/tests/expand.rs')
-rw-r--r--crates/mbe/src/tests/expand.rs22
1 files changed, 0 insertions, 22 deletions
diff --git a/crates/mbe/src/tests/expand.rs b/crates/mbe/src/tests/expand.rs
index 360d24db57..48143f0a60 100644
--- a/crates/mbe/src/tests/expand.rs
+++ b/crates/mbe/src/tests/expand.rs
@@ -210,28 +210,6 @@ fn test_expr_order() {
}
#[test]
-fn test_fail_match_pattern_by_first_token() {
- parse_macro(
- r#"
- macro_rules! foo {
- ($ i:ident) => (
- mod $ i {}
- );
- (= $ i:ident) => (
- fn $ i() {}
- );
- (+ $ i:ident) => (
- struct $ i;
- )
- }
-"#,
- )
- .assert_expand_items("foo! { foo }", "mod foo {}")
- .assert_expand_items("foo! { = bar }", "fn bar () {}")
- .assert_expand_items("foo! { + Baz }", "struct Baz ;");
-}
-
-#[test]
fn test_fail_match_pattern_by_last_token() {
parse_macro(
r#"