From 049f8df93cca05af395ce873738dc85d5a25f3fc Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 21 Nov 2018 12:57:05 +0300 Subject: switch completion to new scope --- crates/ra_analysis/tests/tests.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/ra_analysis/tests') diff --git a/crates/ra_analysis/tests/tests.rs b/crates/ra_analysis/tests/tests.rs index 719c166b5..72b2ebf97 100644 --- a/crates/ra_analysis/tests/tests.rs +++ b/crates/ra_analysis/tests/tests.rs @@ -447,8 +447,8 @@ fn test_complete_crate_path() { ); let completions = analysis.completions(position).unwrap().unwrap(); assert_eq_dbg( - r#"[CompletionItem { label: "foo", lookup: None, snippet: None }, - CompletionItem { label: "Spam", lookup: None, snippet: None }]"#, + r#"[CompletionItem { label: "Spam", lookup: None, snippet: None }, + CompletionItem { label: "foo", lookup: None, snippet: None }]"#, &completions, ); } @@ -466,8 +466,8 @@ fn test_complete_crate_path_with_braces() { ); let completions = analysis.completions(position).unwrap().unwrap(); assert_eq_dbg( - r#"[CompletionItem { label: "foo", lookup: None, snippet: None }, - CompletionItem { label: "Spam", lookup: None, snippet: None }]"#, + r#"[CompletionItem { label: "Spam", lookup: None, snippet: None }, + CompletionItem { label: "foo", lookup: None, snippet: None }]"#, &completions, ); } -- cgit v1.2.3