Helper: run `verify_backend_endpoint` and return the expected failure.
(route: &ResolvedRoute)
| 1600 | |
| 1601 | /// Helper: run `verify_backend_endpoint` and return the expected failure. |
| 1602 | async fn reqwest_verify(route: &ResolvedRoute) -> ValidationFailure { |
| 1603 | verify_backend_endpoint(&reqwest::Client::new(), route) |
| 1604 | .await |
| 1605 | .expect_err("validation should fail") |
| 1606 | } |
| 1607 | |
| 1608 | /// Non-chat-completions probes (e.g. `anthropic_messages`) should not |
| 1609 | /// have a fallback — a 400 remains a hard failure. |
no test coverage detected