From 53ae63835da570c3419712141b34180ff9aae95c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 24 May 2019 01:46:23 +0300 Subject: :arrow_up: rustc --- .../src/completion/complete_struct_literal.rs | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'crates/ra_ide_api/src/completion/complete_struct_literal.rs') diff --git a/crates/ra_ide_api/src/completion/complete_struct_literal.rs b/crates/ra_ide_api/src/completion/complete_struct_literal.rs index a00c1b60b..1eeea58f6 100644 --- a/crates/ra_ide_api/src/completion/complete_struct_literal.rs +++ b/crates/ra_ide_api/src/completion/complete_struct_literal.rs @@ -44,15 +44,17 @@ mod tests { } ", ); - assert_debug_snapshot_matches!(completions, @r###"[ - CompletionItem { - label: "the_field", - source_range: [83; 86), - delete: [83; 86), - insert: "the_field", - kind: Field, - detail: "u32" - } -]"###); + assert_debug_snapshot_matches!(completions, @r###" + ⋮[ + ⋮ CompletionItem { + ⋮ label: "the_field", + ⋮ source_range: [83; 86), + ⋮ delete: [83; 86), + ⋮ insert: "the_field", + ⋮ kind: Field, + ⋮ detail: "u32", + ⋮ }, + ⋮] + "###); } } -- cgit v1.2.3