diff options
author | Aleksey Kladov <[email protected]> | 2018-08-27 19:10:02 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-27 19:10:02 +0100 |
commit | b79c8b6d8a3b38c94de992a54ffb9055c1ad6f31 (patch) | |
tree | 4979b92b8f4e41bf55e4e1404a8cb183c034d6d7 /crates/libanalysis/tests | |
parent | 7f4b07a9076a38b2bd0fa0518ba090311dcaf880 (diff) |
Fix error blocks
Diffstat (limited to 'crates/libanalysis/tests')
-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 | } |