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__enum_variant_with_details.snap | |
parent | 19f77603c0aed92ec70a836dae4d447b8fcab922 (diff) |
Sort completions in tests
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap index 384634517..9fd2d81ec 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-01-25T16:44:04.641542400+00:00" | 2 | created: "2019-01-27T19:56:59.938973454+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,16 +7,16 @@ 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: "Foo", | 10 | label: "Bar", |
11 | kind: Some( | 11 | kind: Some( |
12 | EnumVariant | 12 | EnumVariant |
13 | ), | 13 | ), |
14 | detail: Some( | 14 | detail: Some( |
15 | "()" | 15 | "(i32, u32)" |
16 | ), | 16 | ), |
17 | documentation: Some( | 17 | documentation: Some( |
18 | Documentation( | 18 | Documentation( |
19 | "Foo Variant (empty)" | 19 | "Bar Variant with i32 and u32" |
20 | ) | 20 | ) |
21 | ), | 21 | ), |
22 | lookup: None, | 22 | lookup: None, |
@@ -27,16 +27,16 @@ source: crates/ra_ide_api/src/completion/completion_item.rs | |||
27 | }, | 27 | }, |
28 | CompletionItem { | 28 | CompletionItem { |
29 | completion_kind: Reference, | 29 | completion_kind: Reference, |
30 | label: "Bar", | 30 | label: "Foo", |
31 | kind: Some( | 31 | kind: Some( |
32 | EnumVariant | 32 | EnumVariant |
33 | ), | 33 | ), |
34 | detail: Some( | 34 | detail: Some( |
35 | "(i32, u32)" | 35 | "()" |
36 | ), | 36 | ), |
37 | documentation: Some( | 37 | documentation: Some( |
38 | Documentation( | 38 | Documentation( |
39 | "Bar Variant with i32 and u32" | 39 | "Foo Variant (empty)" |
40 | ) | 40 | ) |
41 | ), | 41 | ), |
42 | lookup: None, | 42 | lookup: None, |