aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-06-13 16:45:38 +0100
committerAleksey Kladov <[email protected]>2021-06-13 16:45:38 +0100
commit4af7a35197a1cb159458694e69e17bd83dc9edff (patch)
treee1a50270e17e19d9be974b9ea8516667f17469e9 /crates/ide/src
parent00303284b5cc3a82e32dc3ecbbcfeb2f99de6818 (diff)
internal: remove def-level diagnostics tests
Diffstat (limited to 'crates/ide/src')
-rw-r--r--crates/ide/src/diagnostics/unresolved_macro_call.rs12
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#"
41fn 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#"