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 | 6 |
1 files changed, 3 insertions, 3 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 8c8b47ea4..70716b3d6 100644 --- a/crates/ra_ide_api/src/completion/complete_record_pattern.rs +++ b/crates/ra_ide_api/src/completion/complete_record_pattern.rs | |||
@@ -22,7 +22,7 @@ pub(super) fn complete_record_pattern(acc: &mut Completions, ctx: &CompletionCon | |||
22 | #[cfg(test)] | 22 | #[cfg(test)] |
23 | mod tests { | 23 | mod tests { |
24 | use crate::completion::{do_completion, CompletionItem, CompletionKind}; | 24 | use crate::completion::{do_completion, CompletionItem, CompletionKind}; |
25 | use insta::assert_debug_snapshot_matches; | 25 | use insta::assert_debug_snapshot; |
26 | 26 | ||
27 | fn complete(code: &str) -> Vec<CompletionItem> { | 27 | fn complete(code: &str) -> Vec<CompletionItem> { |
28 | do_completion(code, CompletionKind::Reference) | 28 | do_completion(code, CompletionKind::Reference) |
@@ -41,7 +41,7 @@ mod tests { | |||
41 | } | 41 | } |
42 | ", | 42 | ", |
43 | ); | 43 | ); |
44 | assert_debug_snapshot_matches!(completions, @r###" | 44 | assert_debug_snapshot!(completions, @r###" |
45 | ⋮[ | 45 | ⋮[ |
46 | ⋮ CompletionItem { | 46 | ⋮ CompletionItem { |
47 | ⋮ label: "foo", | 47 | ⋮ label: "foo", |
@@ -70,7 +70,7 @@ mod tests { | |||
70 | } | 70 | } |
71 | ", | 71 | ", |
72 | ); | 72 | ); |
73 | assert_debug_snapshot_matches!(completions, @r###" | 73 | assert_debug_snapshot!(completions, @r###" |
74 | ⋮[ | 74 | ⋮[ |
75 | ⋮ CompletionItem { | 75 | ⋮ CompletionItem { |
76 | ⋮ label: "bar", | 76 | ⋮ label: "bar", |