diff options
Diffstat (limited to 'crates/libanalysis/tests/tests.rs')
-rw-r--r-- | crates/libanalysis/tests/tests.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/libanalysis/tests/tests.rs b/crates/libanalysis/tests/tests.rs index b3c357b02..7c2950ccc 100644 --- a/crates/libanalysis/tests/tests.rs +++ b/crates/libanalysis/tests/tests.rs | |||
@@ -52,7 +52,8 @@ fn test_unresolved_module_diagnostic() { | |||
52 | let snap = world.snapshot(|_id, _path| None); | 52 | let snap = world.snapshot(|_id, _path| None); |
53 | let diagnostics = snap.diagnostics(FileId(1)).unwrap(); | 53 | let diagnostics = snap.diagnostics(FileId(1)).unwrap(); |
54 | assert_eq_dbg( | 54 | assert_eq_dbg( |
55 | r#"[Diagnostic { range: [4; 7), msg: "unresolved module" }]"#, | 55 | r#"[(Diagnostic { range: [4; 7), msg: "unresolved module" }, |
56 | Some(CreateFile("../foo.rs")))]"#, | ||
56 | &diagnostics, | 57 | &diagnostics, |
57 | ); | 58 | ); |
58 | } | 59 | } |