From cf5c99271d79e98332d6e7d35f885b7c79177238 Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Sun, 27 Jan 2019 21:02:24 +0100 Subject: Sort completions in tests --- ...pletion_item__struct_field_completion_self.snap | 38 +++++++++++----------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap') diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap index 580e92a90..1073d90fd 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap @@ -1,5 +1,5 @@ --- -created: "2019-01-25T19:27:09.519688600+00:00" +created: "2019-01-27T19:56:59.909689544+00:00" creator: insta@0.5.2 expression: kind_completions source: crates/ra_ide_api/src/completion/completion_item.rs @@ -7,39 +7,39 @@ source: crates/ra_ide_api/src/completion/completion_item.rs [ CompletionItem { completion_kind: Reference, - label: "the_field", + label: "foo", kind: Some( - Field + Method ), detail: Some( - "(u32,)" - ), - documentation: Some( - Documentation( - "This is the_field" - ) + "fn foo(self)" ), + documentation: None, lookup: None, - insert_text: None, - insert_text_format: PlainText, + insert_text: Some( + "foo()$0" + ), + insert_text_format: Snippet, source_range: [187; 187), text_edit: None }, CompletionItem { completion_kind: Reference, - label: "foo", + label: "the_field", kind: Some( - Method + Field ), detail: Some( - "fn foo(self)" + "(u32,)" ), - documentation: None, - lookup: None, - insert_text: Some( - "foo()$0" + documentation: Some( + Documentation( + "This is the_field" + ) ), - insert_text_format: Snippet, + lookup: None, + insert_text: None, + insert_text_format: PlainText, source_range: [187; 187), text_edit: None } -- cgit v1.2.3