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 --- ...em__completes_break_and_continue_in_loops1.snap | 72 +++++----------------- 1 file changed, 15 insertions(+), 57 deletions(-) (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap') diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap index 74f6fcd77..42ff02469 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap @@ -1,5 +1,5 @@ --- -created: "2019-02-18T09:10:51.974241301Z" +created: "2019-02-18T09:22:23.976673150Z" creator: insta@0.6.2 source: crates/ra_ide_api/src/completion/completion_item.rs expression: kind_completions @@ -8,92 +8,50 @@ expression: kind_completions CompletionItem { label: "break", source_range: [55; 55), - text_edit: TextEdit { - atoms: [ - AtomTextEdit { - delete: [55; 55), - insert: "break;" - } - ] - }, + delete: [55; 55), + insert: "break;", kind: Keyword }, CompletionItem { label: "continue", source_range: [55; 55), - text_edit: TextEdit { - atoms: [ - AtomTextEdit { - delete: [55; 55), - insert: "continue;" - } - ] - }, + delete: [55; 55), + insert: "continue;", kind: Keyword }, CompletionItem { label: "if", source_range: [55; 55), - text_edit: TextEdit { - atoms: [ - AtomTextEdit { - delete: [55; 55), - insert: "if $0 {}" - } - ] - }, + delete: [55; 55), + insert: "if $0 {}", kind: Keyword }, CompletionItem { label: "loop", source_range: [55; 55), - text_edit: TextEdit { - atoms: [ - AtomTextEdit { - delete: [55; 55), - insert: "loop {$0}" - } - ] - }, + delete: [55; 55), + insert: "loop {$0}", kind: Keyword }, CompletionItem { label: "match", source_range: [55; 55), - text_edit: TextEdit { - atoms: [ - AtomTextEdit { - delete: [55; 55), - insert: "match $0 {}" - } - ] - }, + delete: [55; 55), + insert: "match $0 {}", kind: Keyword }, CompletionItem { label: "return", source_range: [55; 55), - text_edit: TextEdit { - atoms: [ - AtomTextEdit { - delete: [55; 55), - insert: "return $0;" - } - ] - }, + delete: [55; 55), + insert: "return $0;", kind: Keyword }, CompletionItem { label: "while", source_range: [55; 55), - text_edit: TextEdit { - atoms: [ - AtomTextEdit { - delete: [55; 55), - insert: "while $0 {}" - } - ] - }, + delete: [55; 55), + insert: "while $0 {}", kind: Keyword } ] -- cgit v1.2.3