diff options
author | Aleksey Kladov <[email protected]> | 2020-07-20 16:44:44 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-20 16:44:44 +0100 |
commit | c7ccfb072c0f8b8e7a47424c341103f48d4648e1 (patch) | |
tree | 134785d9e706053a27c52fd9fb6f26a957dca621 /crates/ra_hir_def/src/nameres | |
parent | c9c518e5e9761bf35d466c47c57c3a1358b56b3c (diff) |
Simplify
Diffstat (limited to 'crates/ra_hir_def/src/nameres')
-rw-r--r-- | crates/ra_hir_def/src/nameres/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/nameres/tests.rs b/crates/ra_hir_def/src/nameres/tests.rs index 02dca80c2..205d3528b 100644 --- a/crates/ra_hir_def/src/nameres/tests.rs +++ b/crates/ra_hir_def/src/nameres/tests.rs | |||
@@ -21,7 +21,7 @@ fn compute_crate_def_map(fixture: &str) -> Arc<CrateDefMap> { | |||
21 | fn check(ra_fixture: &str, expect: Expect) { | 21 | fn check(ra_fixture: &str, expect: Expect) { |
22 | let db = TestDB::with_files(ra_fixture); | 22 | let db = TestDB::with_files(ra_fixture); |
23 | let krate = db.crate_graph().iter().next().unwrap(); | 23 | let krate = db.crate_graph().iter().next().unwrap(); |
24 | let actual = db.crate_def_map(krate).dump() + "\n"; | 24 | let actual = db.crate_def_map(krate).dump(); |
25 | expect.assert_eq(&actual); | 25 | expect.assert_eq(&actual); |
26 | } | 26 | } |
27 | 27 | ||