From c7ccfb072c0f8b8e7a47424c341103f48d4648e1 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 20 Jul 2020 17:44:44 +0200 Subject: Simplify --- crates/ra_hir_def/src/nameres/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_hir_def/src/nameres') 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 { fn check(ra_fixture: &str, expect: Expect) { let db = TestDB::with_files(ra_fixture); let krate = db.crate_graph().iter().next().unwrap(); - let actual = db.crate_def_map(krate).dump() + "\n"; + let actual = db.crate_def_map(krate).dump(); expect.assert_eq(&actual); } -- cgit v1.2.3