From 8c81465d5b43cb17162d5cd00e9e45ae02b47cd7 Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Sat, 11 Jul 2020 18:23:08 -0400 Subject: [PATCH] Update tests --- crates/rust-analyzer/test_data/rustc_unused_variable.txt | 4 +++- .../rust-analyzer/test_data/rustc_unused_variable_as_hint.txt | 4 +++- .../rust-analyzer/test_data/rustc_unused_variable_as_info.txt | 4 +++- crates/rust-analyzer/test_data/snap_multi_line_fix.txt | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/crates/rust-analyzer/test_data/rustc_unused_variable.txt b/crates/rust-analyzer/test_data/rustc_unused_variable.txt index 92aea088b9..0846327572 100644 --- a/crates/rust-analyzer/test_data/rustc_unused_variable.txt +++ b/crates/rust-analyzer/test_data/rustc_unused_variable.txt @@ -37,7 +37,9 @@ id: None, group: None, kind: Some( - "quickfix", + CodeActionKind( + "quickfix", + ), ), edit: Some( SnippetWorkspaceEdit { diff --git a/crates/rust-analyzer/test_data/rustc_unused_variable_as_hint.txt b/crates/rust-analyzer/test_data/rustc_unused_variable_as_hint.txt index 80cf0d8a54..d637923c50 100644 --- a/crates/rust-analyzer/test_data/rustc_unused_variable_as_hint.txt +++ b/crates/rust-analyzer/test_data/rustc_unused_variable_as_hint.txt @@ -37,7 +37,9 @@ id: None, group: None, kind: Some( - "quickfix", + CodeActionKind( + "quickfix", + ), ), edit: Some( SnippetWorkspaceEdit { diff --git a/crates/rust-analyzer/test_data/rustc_unused_variable_as_info.txt b/crates/rust-analyzer/test_data/rustc_unused_variable_as_info.txt index afe3cb6d8a..6b48f16edb 100644 --- a/crates/rust-analyzer/test_data/rustc_unused_variable_as_info.txt +++ b/crates/rust-analyzer/test_data/rustc_unused_variable_as_info.txt @@ -37,7 +37,9 @@ id: None, group: None, kind: Some( - "quickfix", + CodeActionKind( + "quickfix", + ), ), edit: Some( SnippetWorkspaceEdit { diff --git a/crates/rust-analyzer/test_data/snap_multi_line_fix.txt b/crates/rust-analyzer/test_data/snap_multi_line_fix.txt index 7814d35435..2c4cbea168 100644 --- a/crates/rust-analyzer/test_data/snap_multi_line_fix.txt +++ b/crates/rust-analyzer/test_data/snap_multi_line_fix.txt @@ -52,7 +52,9 @@ id: None, group: None, kind: Some( - "quickfix", + CodeActionKind( + "quickfix", + ), ), edit: Some( SnippetWorkspaceEdit {