MCPcopy Index your code
hub / github.com/clawshell/clawshell / test_proxy_error_into_response_internal

Function test_proxy_error_into_response_internal

src/proxy.rs:326–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

324
325 #[tokio::test]
326 async fn test_proxy_error_into_response_internal() {
327 let err = ProxyError::Internal("fail".to_string());
328 let resp = err.into_response();
329 assert_eq!(resp.status(), StatusCode::INTERNAL_SERVER_ERROR);
330 }
331
332 #[test]
333 fn test_proxy_error_display_method_not_allowed() {

Callers

nothing calls this directly

Calls 1

into_responseMethod · 0.80

Tested by

no test coverage detected