diff options
author | Florian Diebold <[email protected]> | 2019-01-27 20:02:24 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-01-27 21:51:20 +0000 |
commit | cf5c99271d79e98332d6e7d35f885b7c79177238 (patch) | |
tree | 49bb3da6d354604cd375acac105ee14ff5a38b23 /crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap | |
parent | 19f77603c0aed92ec70a836dae4d447b8fcab922 (diff) |
Sort completions in tests
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap index 5f5df0033..4d5c7a869 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-01-23T13:19:23.501353210+00:00" | 2 | created: "2019-01-27T19:56:59.910113268+00:00" |
3 | creator: [email protected] | 3 | creator: [email protected] |
4 | expression: kind_completions | 4 | expression: kind_completions |
5 | source: crates/ra_ide_api/src/completion/completion_item.rs | 5 | source: crates/ra_ide_api/src/completion/completion_item.rs |
@@ -7,35 +7,35 @@ source: crates/ra_ide_api/src/completion/completion_item.rs | |||
7 | [ | 7 | [ |
8 | CompletionItem { | 8 | CompletionItem { |
9 | completion_kind: Reference, | 9 | completion_kind: Reference, |
10 | label: "the_field", | 10 | label: "foo", |
11 | kind: Some( | 11 | kind: Some( |
12 | Field | 12 | Method |
13 | ), | 13 | ), |
14 | detail: Some( | 14 | detail: Some( |
15 | "(u32, i32)" | 15 | "fn foo(&self)" |
16 | ), | 16 | ), |
17 | documentation: None, | 17 | documentation: None, |
18 | lookup: None, | 18 | lookup: None, |
19 | insert_text: None, | 19 | insert_text: Some( |
20 | insert_text_format: PlainText, | 20 | "foo()$0" |
21 | ), | ||
22 | insert_text_format: Snippet, | ||
21 | source_range: [126; 126), | 23 | source_range: [126; 126), |
22 | text_edit: None | 24 | text_edit: None |
23 | }, | 25 | }, |
24 | CompletionItem { | 26 | CompletionItem { |
25 | completion_kind: Reference, | 27 | completion_kind: Reference, |
26 | label: "foo", | 28 | label: "the_field", |
27 | kind: Some( | 29 | kind: Some( |
28 | Method | 30 | Field |
29 | ), | 31 | ), |
30 | detail: Some( | 32 | detail: Some( |
31 | "fn foo(&self)" | 33 | "(u32, i32)" |
32 | ), | 34 | ), |
33 | documentation: None, | 35 | documentation: None, |
34 | lookup: None, | 36 | lookup: None, |
35 | insert_text: Some( | 37 | insert_text: None, |
36 | "foo()$0" | 38 | insert_text_format: PlainText, |
37 | ), | ||
38 | insert_text_format: Snippet, | ||
39 | source_range: [126; 126), | 39 | source_range: [126; 126), |
40 | text_edit: None | 40 | text_edit: None |
41 | } | 41 | } |