]> git.lizzy.rs Git - rust.git/commitdiff
test names
authorJeroen Vannevel <jer_vannevel@outlook.com>
Tue, 15 Feb 2022 19:22:36 +0000 (19:22 +0000)
committerJeroen Vannevel <jer_vannevel@outlook.com>
Tue, 15 Feb 2022 19:22:36 +0000 (19:22 +0000)
crates/ide/src/hover/tests.rs

index 85fe4cc964bec86f4ebf643bd4e2f29a62d38c22..c5c531c30b1a4896ed4e0c392c12457f5c0be30b 100644 (file)
@@ -1329,7 +1329,7 @@ fn foo(a: i32, b: i32) -> i32
 }
 
 #[test]
-fn test_hover_function_pointer_show_types() {
+fn test_hover_function_pointer_show_identifiers() {
     check(
         r#"type foo$0 = fn(a: i32, b: i32) -> i32;"#,
         expect![[r#"
@@ -1347,7 +1347,7 @@ fn test_hover_function_pointer_show_types() {
 }
 
 #[test]
-fn test_hover_function_pointer_no_identifier_show_types() {
+fn test_hover_function_pointer_no_identifier() {
     check(
         r#"type foo$0 = fn(i32, _: i32) -> i32;"#,
         expect![[r#"