diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_record_pattern.rs')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_record_pattern.rs | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_record_pattern.rs b/crates/ra_ide_api/src/completion/complete_record_pattern.rs index d20fa796c..aa0fd6d24 100644 --- a/crates/ra_ide_api/src/completion/complete_record_pattern.rs +++ b/crates/ra_ide_api/src/completion/complete_record_pattern.rs | |||
@@ -44,16 +44,16 @@ mod tests { | |||
44 | ", | 44 | ", |
45 | ); | 45 | ); |
46 | assert_debug_snapshot!(completions, @r###" | 46 | assert_debug_snapshot!(completions, @r###" |
47 | ⋮[ | 47 | [ |
48 | ⋮ CompletionItem { | 48 | CompletionItem { |
49 | ⋮ label: "foo", | 49 | label: "foo", |
50 | ⋮ source_range: [117; 118), | 50 | source_range: [117; 118), |
51 | ⋮ delete: [117; 118), | 51 | delete: [117; 118), |
52 | ⋮ insert: "foo", | 52 | insert: "foo", |
53 | ⋮ kind: Field, | 53 | kind: Field, |
54 | ⋮ detail: "u32", | 54 | detail: "u32", |
55 | ⋮ }, | 55 | }, |
56 | ⋮] | 56 | ] |
57 | "###); | 57 | "###); |
58 | } | 58 | } |
59 | 59 | ||
@@ -73,24 +73,24 @@ mod tests { | |||
73 | ", | 73 | ", |
74 | ); | 74 | ); |
75 | assert_debug_snapshot!(completions, @r###" | 75 | assert_debug_snapshot!(completions, @r###" |
76 | ⋮[ | 76 | [ |
77 | ⋮ CompletionItem { | 77 | CompletionItem { |
78 | ⋮ label: "bar", | 78 | label: "bar", |
79 | ⋮ source_range: [161; 161), | 79 | source_range: [161; 161), |
80 | ⋮ delete: [161; 161), | 80 | delete: [161; 161), |
81 | ⋮ insert: "bar", | 81 | insert: "bar", |
82 | ⋮ kind: Field, | 82 | kind: Field, |
83 | ⋮ detail: "()", | 83 | detail: "()", |
84 | ⋮ }, | 84 | }, |
85 | ⋮ CompletionItem { | 85 | CompletionItem { |
86 | ⋮ label: "foo", | 86 | label: "foo", |
87 | ⋮ source_range: [161; 161), | 87 | source_range: [161; 161), |
88 | ⋮ delete: [161; 161), | 88 | delete: [161; 161), |
89 | ⋮ insert: "foo", | 89 | insert: "foo", |
90 | ⋮ kind: Field, | 90 | kind: Field, |
91 | ⋮ detail: "u32", | 91 | detail: "u32", |
92 | ⋮ }, | 92 | }, |
93 | ⋮] | 93 | ] |
94 | "###); | 94 | "###); |
95 | } | 95 | } |
96 | } | 96 | } |