diff options
author | Jeremy Kolb <[email protected]> | 2020-07-11 23:23:08 +0100 |
---|---|---|
committer | Jeremy Kolb <[email protected]> | 2020-07-11 23:23:08 +0100 |
commit | 8c81465d5b43cb17162d5cd00e9e45ae02b47cd7 (patch) | |
tree | abe06aeb39747f69774052a1ba1e14c80bcc9e1e | |
parent | 007812dcaee26298f7b8580d5b0c60469047f2c9 (diff) |
Update tests
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 92aea088b..084632757 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 @@ | |||
37 | id: None, | 37 | id: None, |
38 | group: None, | 38 | group: None, |
39 | kind: Some( | 39 | kind: Some( |
40 | "quickfix", | 40 | CodeActionKind( |
41 | "quickfix", | ||
42 | ), | ||
41 | ), | 43 | ), |
42 | edit: Some( | 44 | edit: Some( |
43 | SnippetWorkspaceEdit { | 45 | 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 80cf0d8a5..d637923c5 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 @@ | |||
37 | id: None, | 37 | id: None, |
38 | group: None, | 38 | group: None, |
39 | kind: Some( | 39 | kind: Some( |
40 | "quickfix", | 40 | CodeActionKind( |
41 | "quickfix", | ||
42 | ), | ||
41 | ), | 43 | ), |
42 | edit: Some( | 44 | edit: Some( |
43 | SnippetWorkspaceEdit { | 45 | 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 afe3cb6d8..6b48f16ed 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 @@ | |||
37 | id: None, | 37 | id: None, |
38 | group: None, | 38 | group: None, |
39 | kind: Some( | 39 | kind: Some( |
40 | "quickfix", | 40 | CodeActionKind( |
41 | "quickfix", | ||
42 | ), | ||
41 | ), | 43 | ), |
42 | edit: Some( | 44 | edit: Some( |
43 | SnippetWorkspaceEdit { | 45 | 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 7814d3543..2c4cbea16 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 @@ | |||
52 | id: None, | 52 | id: None, |
53 | group: None, | 53 | group: None, |
54 | kind: Some( | 54 | kind: Some( |
55 | "quickfix", | 55 | CodeActionKind( |
56 | "quickfix", | ||
57 | ), | ||
56 | ), | 58 | ), |
57 | edit: Some( | 59 | edit: Some( |
58 | SnippetWorkspaceEdit { | 60 | SnippetWorkspaceEdit { |