mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
fix tests
This commit is contained in:
parent
4439cd8c68
commit
3a47dba761
2 changed files with 20 additions and 15 deletions
|
@ -101,21 +101,6 @@ fn test_attr_to_token_tree() {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_macro_2_0_panic_2015() {
|
||||
parse_macro2(
|
||||
r#"
|
||||
macro panic_2015 {
|
||||
() => (
|
||||
),
|
||||
(bar) => (
|
||||
),
|
||||
}
|
||||
"#,
|
||||
)
|
||||
.assert_expand_items("panic_2015!(bar);", "");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_path() {
|
||||
parse_macro(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue