()
| 392 | |
| 393 | #[tokio::test] |
| 394 | async fn test_hover_chained_blade() { |
| 395 | let backend = create_test_backend(); |
| 396 | open_scaffolding(&backend).await; |
| 397 | let uri = open_blade(&backend).await; |
| 398 | // "diffForHumans" in "<p>{{ $post->created_at->diffForHumans() }}</p>" |
| 399 | // line 14, col 30 |
| 400 | let text = hover_text(&backend, &uri, 14, 30).await; |
| 401 | assert!( |
| 402 | text.as_ref() |
| 403 | .is_some_and(|t| t.contains("diffForHumans") || t.contains("string")), |
| 404 | "Blade: hover on ->diffForHumans() should show info, got: {:?}", |
| 405 | text |
| 406 | ); |
| 407 | } |
| 408 | |
| 409 | // ── Foreach variable resolution ───────────────────────────────────── |
| 410 |
nothing calls this directly
no test coverage detected