()
| 218 | |
| 219 | #[tokio::test] |
| 220 | async fn test_hover_author_php() { |
| 221 | let backend = create_test_backend(); |
| 222 | open_scaffolding(&backend).await; |
| 223 | let uri = open_php_equivalent(&backend).await; |
| 224 | // "$author" in "echo e( $author->name );" — line 6, col 8 |
| 225 | let text = hover_text(&backend, &uri, 6, 8).await; |
| 226 | assert!( |
| 227 | text.as_ref().is_some_and(|t| t.contains("BlogAuthor")), |
| 228 | "PHP: hover on $author should mention BlogAuthor, got: {:?}", |
| 229 | text |
| 230 | ); |
| 231 | } |
| 232 | |
| 233 | #[tokio::test] |
| 234 | async fn test_hover_author_blade() { |
nothing calls this directly
no test coverage detected