From 0fb8894fbe3c2ea9f4be34065c3bd1b2a64f6356 Mon Sep 17 00:00:00 2001 From: gfreezy Date: Mon, 24 Dec 2018 23:01:16 +0800 Subject: fix tests --- crates/ra_analysis/tests/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/ra_analysis/tests/tests.rs b/crates/ra_analysis/tests/tests.rs index 2313e35f5..210fa2a13 100644 --- a/crates/ra_analysis/tests/tests.rs +++ b/crates/ra_analysis/tests/tests.rs @@ -83,7 +83,7 @@ fn test_unresolved_module_diagnostic() { source_file_edits: [], file_system_edits: [CreateFile { source_root: SourceRootId(0), path: "foo.rs" }], cursor_position: None }), - severity: Some(Error) }]"#, + severity: Error }]"#, &diagnostics, ); } -- cgit v1.2.3