aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src
diff options
context:
space:
mode:
authorPhil Ellison <[email protected]>2021-01-01 21:17:54 +0000
committerPhil Ellison <[email protected]>2021-01-23 07:40:25 +0000
commit7c691f51f9974572e1e56c0e368b973ed3e58365 (patch)
treea84e6b141b55bb8a293fe7f3560f21761fe81c4b /crates/hir_ty/src
parent8c7ccdc29d071649e816030ac744338e91eb5558 (diff)
Fix test names
Diffstat (limited to 'crates/hir_ty/src')
-rw-r--r--crates/hir_ty/src/diagnostics.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/hir_ty/src/diagnostics.rs b/crates/hir_ty/src/diagnostics.rs
index 3d7663f6a..6eaa1beb8 100644
--- a/crates/hir_ty/src/diagnostics.rs
+++ b/crates/hir_ty/src/diagnostics.rs
@@ -671,7 +671,7 @@ fn foo() { break; }
671 } 671 }
672 672
673 #[test] 673 #[test]
674 fn replace_filter_next_with_find_map() { 674 fn replace_filter_map_next_with_find_map() {
675 check_diagnostics( 675 check_diagnostics(
676 r#" 676 r#"
677 fn foo() { 677 fn foo() {
@@ -683,7 +683,7 @@ fn foo() { break; }
683 } 683 }
684 684
685 #[test] 685 #[test]
686 fn replace_filter_next_with_find_map_no_diagnostic_without_next() { 686 fn replace_filter_map_next_with_find_map_no_diagnostic_without_next() {
687 check_diagnostics( 687 check_diagnostics(
688 r#" 688 r#"
689 fn foo() { 689 fn foo() {
@@ -697,7 +697,7 @@ fn foo() { break; }
697 } 697 }
698 698
699 #[test] 699 #[test]
700 fn replace_filter_next_with_find_map_no_diagnostic_with_intervening_methods() { 700 fn replace_filter_map_next_with_find_map_no_diagnostic_with_intervening_methods() {
701 check_diagnostics( 701 check_diagnostics(
702 r#" 702 r#"
703 fn foo() { 703 fn foo() {
@@ -712,7 +712,7 @@ fn foo() { break; }
712 } 712 }
713 713
714 #[test] 714 #[test]
715 fn replace_filter_next_with_find_map_no_diagnostic_if_not_in_chain() { 715 fn replace_filter_map_next_with_find_map_no_diagnostic_if_not_in_chain() {
716 check_diagnostics( 716 check_diagnostics(
717 r#" 717 r#"
718 fn foo() { 718 fn foo() {