aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/completion')
-rw-r--r--crates/ra_ide_api/src/completion/complete_scope.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_scope.rs b/crates/ra_ide_api/src/completion/complete_scope.rs
index 079ecfacc..2000d953a 100644
--- a/crates/ra_ide_api/src/completion/complete_scope.rs
+++ b/crates/ra_ide_api/src/completion/complete_scope.rs
@@ -307,16 +307,16 @@ mod tests {
307 #[test] 307 #[test]
308 fn completes_module_items() { 308 fn completes_module_items() {
309 assert_debug_snapshot_matches!( 309 assert_debug_snapshot_matches!(
310 do_reference_completion( 310 do_reference_completion(
311 r" 311 r"
312 struct Foo; 312 struct Foo;
313 enum Baz {} 313 enum Baz {}
314 fn quux() { 314 fn quux() {
315 <|> 315 <|>
316 } 316 }
317 " 317 "
318 ), 318 ),
319 @r###"[ 319 @r###"[
320 CompletionItem { 320 CompletionItem {
321 label: "Baz", 321 label: "Baz",
322 source_range: [105; 105), 322 source_range: [105; 105),
@@ -340,7 +340,7 @@ mod tests {
340 detail: "fn quux()", 340 detail: "fn quux()",
341 }, 341 },
342]"### 342]"###
343 ); 343 );
344 } 344 }
345 345
346 #[test] 346 #[test]