()
| 232 | |
| 233 | #[tokio::test] |
| 234 | async fn test_hover_author_blade() { |
| 235 | let backend = create_test_backend(); |
| 236 | open_scaffolding(&backend).await; |
| 237 | let uri = open_blade(&backend).await; |
| 238 | // "$author" in "<p>{{ $author->name }}</p>" — line 11, col 10 |
| 239 | let text = hover_text(&backend, &uri, 11, 10).await; |
| 240 | assert!( |
| 241 | text.as_ref().is_some_and(|t| t.contains("BlogAuthor")), |
| 242 | "Blade: hover on $author should mention BlogAuthor, got: {:?}", |
| 243 | text |
| 244 | ); |
| 245 | } |
| 246 | |
| 247 | // ── Completion $author-> offers 'name' ────────────────────────────── |
| 248 |
nothing calls this directly
no test coverage detected