()
| 434 | |
| 435 | #[test] |
| 436 | fn test_auth_failed() { |
| 437 | let err = RemoteError::auth_failed("http://example.com", "invalid token"); |
| 438 | assert!(err.is_auth_error()); |
| 439 | assert!(!err.is_retryable()); |
| 440 | assert!(err.suggestion().is_some()); |
| 441 | } |
| 442 | |
| 443 | #[test] |
| 444 | fn test_repo_not_found() { |
nothing calls this directly
no outgoing calls
no test coverage detected