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__no_semi_after_break_continue_in_expr.snap | |
parent | 19f77603c0aed92ec70a836dae4d447b8fcab922 (diff) |
Sort completions in tests
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap index a5164b03e..5a35d9ca9 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap | |||
@@ -1,13 +1,13 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-01-22T14:45:00.651095300+00:00" | 2 | created: "2019-01-27T19:56:59.922933445+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 | --- |
7 | [ | 7 | [ |
8 | CompletionItem { | 8 | CompletionItem { |
9 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
10 | label: "if", | 10 | label: "break", |
11 | kind: Some( | 11 | kind: Some( |
12 | Keyword | 12 | Keyword |
13 | ), | 13 | ), |
@@ -15,7 +15,7 @@ source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | |||
15 | documentation: None, | 15 | documentation: None, |
16 | lookup: None, | 16 | lookup: None, |
17 | insert_text: Some( | 17 | insert_text: Some( |
18 | "if $0 {}" | 18 | "break" |
19 | ), | 19 | ), |
20 | insert_text_format: Snippet, | 20 | insert_text_format: Snippet, |
21 | source_range: [106; 108), | 21 | source_range: [106; 108), |
@@ -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: "continue", |
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 | "continue" |
35 | ), | 35 | ), |
36 | insert_text_format: Snippet, | 36 | insert_text_format: Snippet, |
37 | source_range: [106; 108), | 37 | source_range: [106; 108), |
@@ -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: "if", |
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 | "if $0 {}" |
51 | ), | 51 | ), |
52 | insert_text_format: Snippet, | 52 | insert_text_format: Snippet, |
53 | source_range: [106; 108), | 53 | source_range: [106; 108), |
@@ -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: "continue", | 74 | label: "match", |
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 | "continue" | 82 | "match $0 {}" |
83 | ), | 83 | ), |
84 | insert_text_format: Snippet, | 84 | insert_text_format: Snippet, |
85 | source_range: [106; 108), | 85 | source_range: [106; 108), |
@@ -87,7 +87,7 @@ source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | |||
87 | }, | 87 | }, |
88 | CompletionItem { | 88 | CompletionItem { |
89 | completion_kind: Keyword, | 89 | completion_kind: Keyword, |
90 | label: "break", | 90 | label: "return", |
91 | kind: Some( | 91 | kind: Some( |
92 | Keyword | 92 | Keyword |
93 | ), | 93 | ), |
@@ -95,7 +95,7 @@ source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | |||
95 | documentation: None, | 95 | documentation: None, |
96 | lookup: None, | 96 | lookup: None, |
97 | insert_text: Some( | 97 | insert_text: Some( |
98 | "break" | 98 | "return" |
99 | ), | 99 | ), |
100 | insert_text_format: Snippet, | 100 | insert_text_format: Snippet, |
101 | source_range: [106; 108), | 101 | source_range: [106; 108), |
@@ -103,7 +103,7 @@ source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | |||
103 | }, | 103 | }, |
104 | CompletionItem { | 104 | CompletionItem { |
105 | completion_kind: Keyword, | 105 | completion_kind: Keyword, |
106 | label: "return", | 106 | label: "while", |
107 | kind: Some( | 107 | kind: Some( |
108 | Keyword | 108 | Keyword |
109 | ), | 109 | ), |
@@ -111,7 +111,7 @@ source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | |||
111 | documentation: None, | 111 | documentation: None, |
112 | lookup: None, | 112 | lookup: None, |
113 | insert_text: Some( | 113 | insert_text: Some( |
114 | "return" | 114 | "while $0 {}" |
115 | ), | 115 | ), |
116 | insert_text_format: Snippet, | 116 | insert_text_format: Snippet, |
117 | source_range: [106; 108), | 117 | source_range: [106; 108), |