From a92db7c84829becdf95e0a5ef6e27cdf833518b8 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 18 Feb 2019 12:23:31 +0300 Subject: more compact edits in insta --- .../completion_item__keywords_in_function4.snap | 52 +++++----------------- 1 file changed, 11 insertions(+), 41 deletions(-) (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap') diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap index 8e66260f6..1ea7eb5ce 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap @@ -1,5 +1,5 @@ --- -created: "2019-02-18T09:10:52.039207401Z" +created: "2019-02-18T09:22:24.090949782Z" creator: insta@0.6.2 source: crates/ra_ide_api/src/completion/completion_item.rs expression: kind_completions @@ -8,66 +8,36 @@ expression: kind_completions CompletionItem { label: "if", source_range: [41; 41), - text_edit: TextEdit { - atoms: [ - AtomTextEdit { - delete: [41; 41), - insert: "if $0 {}" - } - ] - }, + delete: [41; 41), + insert: "if $0 {}", kind: Keyword }, CompletionItem { label: "loop", source_range: [41; 41), - text_edit: TextEdit { - atoms: [ - AtomTextEdit { - delete: [41; 41), - insert: "loop {$0}" - } - ] - }, + delete: [41; 41), + insert: "loop {$0}", kind: Keyword }, CompletionItem { label: "match", source_range: [41; 41), - text_edit: TextEdit { - atoms: [ - AtomTextEdit { - delete: [41; 41), - insert: "match $0 {}" - } - ] - }, + delete: [41; 41), + insert: "match $0 {}", kind: Keyword }, CompletionItem { label: "return", source_range: [41; 41), - text_edit: TextEdit { - atoms: [ - AtomTextEdit { - delete: [41; 41), - insert: "return;" - } - ] - }, + delete: [41; 41), + insert: "return;", kind: Keyword }, CompletionItem { label: "while", source_range: [41; 41), - text_edit: TextEdit { - atoms: [ - AtomTextEdit { - delete: [41; 41), - insert: "while $0 {}" - } - ] - }, + delete: [41; 41), + insert: "while $0 {}", kind: Keyword } ] -- cgit v1.2.3