diff options
Diffstat (limited to 'crates/ra_analysis/tests/test')
-rw-r--r-- | crates/ra_analysis/tests/test/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_analysis/tests/test/main.rs b/crates/ra_analysis/tests/test/main.rs index 26da7c10c..1f70af12a 100644 --- a/crates/ra_analysis/tests/test/main.rs +++ b/crates/ra_analysis/tests/test/main.rs | |||
@@ -31,6 +31,7 @@ fn test_unresolved_module_diagnostic() { | |||
31 | ); | 31 | ); |
32 | } | 32 | } |
33 | 33 | ||
34 | // FIXME: move this test to hir | ||
34 | #[test] | 35 | #[test] |
35 | fn test_unresolved_module_diagnostic_no_diag_for_inline_mode() { | 36 | fn test_unresolved_module_diagnostic_no_diag_for_inline_mode() { |
36 | let (analysis, file_id) = single_file("mod foo {}"); | 37 | let (analysis, file_id) = single_file("mod foo {}"); |
@@ -69,7 +70,7 @@ fn test_resolve_parent_module_for_inline() { | |||
69 | ); | 70 | ); |
70 | let symbols = analysis.parent_module(pos).unwrap(); | 71 | let symbols = analysis.parent_module(pos).unwrap(); |
71 | assert_eq_dbg( | 72 | assert_eq_dbg( |
72 | r#"[NavigationTarget { file_id: FileId(1), name: "bar", kind: MODULE, range: [18; 21), ptr: None }]"#, | 73 | r#"[NavigationTarget { file_id: FileId(1), name: "baz", kind: MODULE, range: [36; 39), ptr: None }]"#, |
73 | &symbols, | 74 | &symbols, |
74 | ); | 75 | ); |
75 | } | 76 | } |