mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
test names
This commit is contained in:
parent
d985394ce2
commit
842ffde43d
@ -1329,7 +1329,7 @@ fn test_hover_function_show_types() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_hover_function_pointer_show_types() {
|
fn test_hover_function_pointer_show_identifiers() {
|
||||||
check(
|
check(
|
||||||
r#"type foo$0 = fn(a: i32, b: i32) -> i32;"#,
|
r#"type foo$0 = fn(a: i32, b: i32) -> i32;"#,
|
||||||
expect![[r#"
|
expect![[r#"
|
||||||
@ -1347,7 +1347,7 @@ fn test_hover_function_pointer_show_types() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_hover_function_pointer_no_identifier_show_types() {
|
fn test_hover_function_pointer_no_identifier() {
|
||||||
check(
|
check(
|
||||||
r#"type foo$0 = fn(i32, _: i32) -> i32;"#,
|
r#"type foo$0 = fn(i32, _: i32) -> i32;"#,
|
||||||
expect![[r#"
|
expect![[r#"
|
||||||
|
Loading…
Reference in New Issue
Block a user