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_self.snap | |
parent | 19f77603c0aed92ec70a836dae4d447b8fcab922 (diff) |
Sort completions in tests
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap index 580e92a90..1073d90fd 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-01-25T19:27:09.519688600+00:00" | 2 | created: "2019-01-27T19:56:59.909689544+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,39 +7,39 @@ 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,)" | 15 | "fn foo(self)" |
16 | ), | ||
17 | documentation: Some( | ||
18 | Documentation( | ||
19 | "This is the_field" | ||
20 | ) | ||
21 | ), | 16 | ), |
17 | documentation: None, | ||
22 | lookup: None, | 18 | lookup: None, |
23 | insert_text: None, | 19 | insert_text: Some( |
24 | insert_text_format: PlainText, | 20 | "foo()$0" |
21 | ), | ||
22 | insert_text_format: Snippet, | ||
25 | source_range: [187; 187), | 23 | source_range: [187; 187), |
26 | text_edit: None | 24 | text_edit: None |
27 | }, | 25 | }, |
28 | CompletionItem { | 26 | CompletionItem { |
29 | completion_kind: Reference, | 27 | completion_kind: Reference, |
30 | label: "foo", | 28 | label: "the_field", |
31 | kind: Some( | 29 | kind: Some( |
32 | Method | 30 | Field |
33 | ), | 31 | ), |
34 | detail: Some( | 32 | detail: Some( |
35 | "fn foo(self)" | 33 | "(u32,)" |
36 | ), | 34 | ), |
37 | documentation: None, | 35 | documentation: Some( |
38 | lookup: None, | 36 | Documentation( |
39 | insert_text: Some( | 37 | "This is the_field" |
40 | "foo()$0" | 38 | ) |
41 | ), | 39 | ), |
42 | insert_text_format: Snippet, | 40 | lookup: None, |
41 | insert_text: None, | ||
42 | insert_text_format: PlainText, | ||
43 | source_range: [187; 187), | 43 | source_range: [187; 187), |
44 | text_edit: None | 44 | text_edit: None |
45 | } | 45 | } |