()
| 338 | |
| 339 | #[tokio::test] |
| 340 | async fn test_hover_post_blade() { |
| 341 | let backend = create_test_backend(); |
| 342 | open_scaffolding(&backend).await; |
| 343 | let uri = open_blade(&backend).await; |
| 344 | // "$post" in "<h3>{{ $post->getTitle() }}</h3>" — line 12, col 11 |
| 345 | let text = hover_text(&backend, &uri, 12, 11).await; |
| 346 | assert!( |
| 347 | text.as_ref().is_some_and(|t| t.contains("BlogPost")), |
| 348 | "Blade: hover on $post should mention BlogPost, got: {:?}", |
| 349 | text |
| 350 | ); |
| 351 | } |
| 352 | |
| 353 | // ── GTD on ->getTitle() resolves ──────────────────────────────────── |
| 354 |
nothing calls this directly
no test coverage detected