()
| 424 | |
| 425 | #[test] |
| 426 | fn test_connection_failed() { |
| 427 | let err = RemoteError::connection_failed( |
| 428 | "http://example.com", |
| 429 | std::io::Error::new(std::io::ErrorKind::ConnectionRefused, "refused"), |
| 430 | ); |
| 431 | assert!(err.to_string().contains("http://example.com")); |
| 432 | assert!(err.is_retryable()); |
| 433 | } |
| 434 | |
| 435 | #[test] |
| 436 | fn test_auth_failed() { |
nothing calls this directly
no outgoing calls
no test coverage detected