mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
test names
This commit is contained in:
parent
d985394ce2
commit
842ffde43d
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue