diff options
author | Aleksey Kladov <[email protected]> | 2018-11-21 09:57:05 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-11-21 09:57:05 +0000 |
commit | 049f8df93cca05af395ce873738dc85d5a25f3fc (patch) | |
tree | 55614a697cc531a53f2836c994d3211c6cd756c2 /crates/ra_analysis/tests | |
parent | b70b6bce19981df5d0cda6a0193fb9b07da6ea51 (diff) |
switch completion to new scope
Diffstat (limited to 'crates/ra_analysis/tests')
-rw-r--r-- | crates/ra_analysis/tests/tests.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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() { | |||
447 | ); | 447 | ); |
448 | let completions = analysis.completions(position).unwrap().unwrap(); | 448 | let completions = analysis.completions(position).unwrap().unwrap(); |
449 | assert_eq_dbg( | 449 | assert_eq_dbg( |
450 | r#"[CompletionItem { label: "foo", lookup: None, snippet: None }, | 450 | r#"[CompletionItem { label: "Spam", lookup: None, snippet: None }, |
451 | CompletionItem { label: "Spam", lookup: None, snippet: None }]"#, | 451 | CompletionItem { label: "foo", lookup: None, snippet: None }]"#, |
452 | &completions, | 452 | &completions, |
453 | ); | 453 | ); |
454 | } | 454 | } |
@@ -466,8 +466,8 @@ fn test_complete_crate_path_with_braces() { | |||
466 | ); | 466 | ); |
467 | let completions = analysis.completions(position).unwrap().unwrap(); | 467 | let completions = analysis.completions(position).unwrap().unwrap(); |
468 | assert_eq_dbg( | 468 | assert_eq_dbg( |
469 | r#"[CompletionItem { label: "foo", lookup: None, snippet: None }, | 469 | r#"[CompletionItem { label: "Spam", lookup: None, snippet: None }, |
470 | CompletionItem { label: "Spam", lookup: None, snippet: None }]"#, | 470 | CompletionItem { label: "foo", lookup: None, snippet: None }]"#, |
471 | &completions, | 471 | &completions, |
472 | ); | 472 | ); |
473 | } | 473 | } |