()
| 376 | |
| 377 | #[tokio::test] |
| 378 | async fn test_hover_chained_php() { |
| 379 | let backend = create_test_backend(); |
| 380 | open_scaffolding(&backend).await; |
| 381 | let uri = open_php_equivalent(&backend).await; |
| 382 | // "diffForHumans" in "echo e( $post->created_at->diffForHumans() );" |
| 383 | // line 9, col 27 |
| 384 | let text = hover_text(&backend, &uri, 9, 27).await; |
| 385 | assert!( |
| 386 | text.as_ref() |
| 387 | .is_some_and(|t| t.contains("diffForHumans") || t.contains("string")), |
| 388 | "PHP: hover on ->diffForHumans() should show info, got: {:?}", |
| 389 | text |
| 390 | ); |
| 391 | } |
| 392 | |
| 393 | #[tokio::test] |
| 394 | async fn test_hover_chained_blade() { |
nothing calls this directly
no test coverage detected