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__last_return_in_block_has_semi2.snap | |
parent | 19f77603c0aed92ec70a836dae4d447b8fcab922 (diff) |
Sort completions in tests
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap index d74483c0b..d1be8c6e7 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-01-23T05:27:32.302452+00:00" | 2 | created: "2019-01-27T20:00:15.604282112+00:00" |
3 | creator: insta@0.4.0 | 3 | creator: insta@0.5.2 |
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 |
6 | --- | 6 | --- |
@@ -23,7 +23,7 @@ source: crates/ra_ide_api/src/completion/completion_item.rs | |||
23 | }, | 23 | }, |
24 | CompletionItem { | 24 | CompletionItem { |
25 | completion_kind: Keyword, | 25 | completion_kind: Keyword, |
26 | label: "match", | 26 | label: "loop", |
27 | kind: Some( | 27 | kind: Some( |
28 | Keyword | 28 | Keyword |
29 | ), | 29 | ), |
@@ -31,7 +31,7 @@ source: crates/ra_ide_api/src/completion/completion_item.rs | |||
31 | documentation: None, | 31 | documentation: None, |
32 | lookup: None, | 32 | lookup: None, |
33 | insert_text: Some( | 33 | insert_text: Some( |
34 | "match $0 {}" | 34 | "loop {$0}" |
35 | ), | 35 | ), |
36 | insert_text_format: Snippet, | 36 | insert_text_format: Snippet, |
37 | source_range: [83; 83), | 37 | source_range: [83; 83), |
@@ -39,7 +39,7 @@ source: crates/ra_ide_api/src/completion/completion_item.rs | |||
39 | }, | 39 | }, |
40 | CompletionItem { | 40 | CompletionItem { |
41 | completion_kind: Keyword, | 41 | completion_kind: Keyword, |
42 | label: "while", | 42 | label: "match", |
43 | kind: Some( | 43 | kind: Some( |
44 | Keyword | 44 | Keyword |
45 | ), | 45 | ), |
@@ -47,7 +47,7 @@ source: crates/ra_ide_api/src/completion/completion_item.rs | |||
47 | documentation: None, | 47 | documentation: None, |
48 | lookup: None, | 48 | lookup: None, |
49 | insert_text: Some( | 49 | insert_text: Some( |
50 | "while $0 {}" | 50 | "match $0 {}" |
51 | ), | 51 | ), |
52 | insert_text_format: Snippet, | 52 | insert_text_format: Snippet, |
53 | source_range: [83; 83), | 53 | source_range: [83; 83), |
@@ -55,7 +55,7 @@ source: crates/ra_ide_api/src/completion/completion_item.rs | |||
55 | }, | 55 | }, |
56 | CompletionItem { | 56 | CompletionItem { |
57 | completion_kind: Keyword, | 57 | completion_kind: Keyword, |
58 | label: "loop", | 58 | label: "return", |
59 | kind: Some( | 59 | kind: Some( |
60 | Keyword | 60 | Keyword |
61 | ), | 61 | ), |
@@ -63,7 +63,7 @@ source: crates/ra_ide_api/src/completion/completion_item.rs | |||
63 | documentation: None, | 63 | documentation: None, |
64 | lookup: None, | 64 | lookup: None, |
65 | insert_text: Some( | 65 | insert_text: Some( |
66 | "loop {$0}" | 66 | "return $0;" |
67 | ), | 67 | ), |
68 | insert_text_format: Snippet, | 68 | insert_text_format: Snippet, |
69 | source_range: [83; 83), | 69 | source_range: [83; 83), |
@@ -71,7 +71,7 @@ source: crates/ra_ide_api/src/completion/completion_item.rs | |||
71 | }, | 71 | }, |
72 | CompletionItem { | 72 | CompletionItem { |
73 | completion_kind: Keyword, | 73 | completion_kind: Keyword, |
74 | label: "return", | 74 | label: "while", |
75 | kind: Some( | 75 | kind: Some( |
76 | Keyword | 76 | Keyword |
77 | ), | 77 | ), |
@@ -79,7 +79,7 @@ source: crates/ra_ide_api/src/completion/completion_item.rs | |||
79 | documentation: None, | 79 | documentation: None, |
80 | lookup: None, | 80 | lookup: None, |
81 | insert_text: Some( | 81 | insert_text: Some( |
82 | "return $0;" | 82 | "while $0 {}" |
83 | ), | 83 | ), |
84 | insert_text_format: Snippet, | 84 | insert_text_format: Snippet, |
85 | source_range: [83; 83), | 85 | source_range: [83; 83), |