diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-13 17:33:03 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-13 17:33:03 +0100 |
commit | 8e5f469da8d5ed0e4c0519c883498097aeadd7ac (patch) | |
tree | a9c198dde6ff1845ee3bf634bc0de888f4ef40e5 /crates/ide/src/diagnostics/fixes/change_case.rs | |
parent | a8d815590821c1b689342e443e584d5b69af6341 (diff) | |
parent | dec207f56a7b16075f68dcb89138d93a7eecdf43 (diff) |
Merge #9251
9251: minor: simplify r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ide/src/diagnostics/fixes/change_case.rs')
-rw-r--r-- | crates/ide/src/diagnostics/fixes/change_case.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/diagnostics/fixes/change_case.rs b/crates/ide/src/diagnostics/fixes/change_case.rs index 42be3375f..db1a37cd6 100644 --- a/crates/ide/src/diagnostics/fixes/change_case.rs +++ b/crates/ide/src/diagnostics/fixes/change_case.rs | |||
@@ -35,7 +35,7 @@ impl DiagnosticWithFixes for IncorrectCase { | |||
35 | #[cfg(test)] | 35 | #[cfg(test)] |
36 | mod change_case { | 36 | mod change_case { |
37 | use crate::{ | 37 | use crate::{ |
38 | diagnostics::tests::{check_fix, check_no_diagnostics}, | 38 | diagnostics::tests::{check_diagnostics, check_fix}, |
39 | fixture, AssistResolveStrategy, DiagnosticsConfig, | 39 | fixture, AssistResolveStrategy, DiagnosticsConfig, |
40 | }; | 40 | }; |
41 | 41 | ||
@@ -102,7 +102,7 @@ fn some_fn() { | |||
102 | 102 | ||
103 | #[test] | 103 | #[test] |
104 | fn test_uppercase_const_no_diagnostics() { | 104 | fn test_uppercase_const_no_diagnostics() { |
105 | check_no_diagnostics( | 105 | check_diagnostics( |
106 | r#" | 106 | r#" |
107 | fn foo() { | 107 | fn foo() { |
108 | const ANOTHER_ITEM$0: &str = "some_item"; | 108 | const ANOTHER_ITEM$0: &str = "some_item"; |