diff options
author | Aleksey Kladov <[email protected]> | 2021-06-13 16:45:38 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-06-13 16:45:38 +0100 |
commit | 4af7a35197a1cb159458694e69e17bd83dc9edff (patch) | |
tree | e1a50270e17e19d9be974b9ea8516667f17469e9 /crates/ide/src | |
parent | 00303284b5cc3a82e32dc3ecbbcfeb2f99de6818 (diff) |
internal: remove def-level diagnostics tests
Diffstat (limited to 'crates/ide/src')
-rw-r--r-- | crates/ide/src/diagnostics/unresolved_macro_call.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crates/ide/src/diagnostics/unresolved_macro_call.rs b/crates/ide/src/diagnostics/unresolved_macro_call.rs index a3af332a4..15b6a2730 100644 --- a/crates/ide/src/diagnostics/unresolved_macro_call.rs +++ b/crates/ide/src/diagnostics/unresolved_macro_call.rs | |||
@@ -35,6 +35,18 @@ mod tests { | |||
35 | use crate::diagnostics::tests::check_diagnostics; | 35 | use crate::diagnostics::tests::check_diagnostics; |
36 | 36 | ||
37 | #[test] | 37 | #[test] |
38 | fn unresolved_macro_diag() { | ||
39 | check_diagnostics( | ||
40 | r#" | ||
41 | fn f() { | ||
42 | m!(); | ||
43 | } //^ unresolved macro `m!` | ||
44 | |||
45 | "#, | ||
46 | ); | ||
47 | } | ||
48 | |||
49 | #[test] | ||
38 | fn test_unresolved_macro_range() { | 50 | fn test_unresolved_macro_range() { |
39 | check_diagnostics( | 51 | check_diagnostics( |
40 | r#" | 52 | r#" |