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.rs | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/crates/mbe/src/tests/expand.rs b/crates/mbe/src/tests/expand.rs index 3655cb5a63..85a51588eb 100644 --- a/crates/mbe/src/tests/expand.rs +++ b/crates/mbe/src/tests/expand.rs @@ -166,48 +166,6 @@ SUBTREE $ ); } -#[test] -fn test_expr_order() { - let expanded = parse_macro( - r#" - macro_rules! foo { - ($ i:expr) => { - fn bar() { $ i * 2; } - } - } -"#, - ) - .expand_items("foo! { 1 + 1}"); - - let dump = format!("{:#?}", expanded); - assert_eq_text!( - r#"[email protected] - [email protected] "fn" - [email protected] "bar" - [email protected] "(" - [email protected] ")" - [email protected] "{" - [email protected] "1" - [email protected] "+" - [email protected] "1" - [email protected] "*" - [email protected] "2" - [email protected] ";" - [email protected] "}""#, - dump.trim() - ); -} #[test] fn test_match_group_with_multichar_sep() { |