MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_http_error

Function test_http_error

atomic-remote/src/error.rs:512–515  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

510
511 #[test]
512 fn test_http_error() {
513 let err = RemoteError::http(500, "Internal Server Error");
514 assert!(err.to_string().contains("500"));
515 }
516
517 #[test]
518 fn test_timeout() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected