()
| 827 | |
| 828 | #[test] |
| 829 | fn test_convert_auth_failed() { |
| 830 | let err = RemoteError::auth_failed("http://example.com", "invalid token"); |
| 831 | let cli_err = convert_remote_error(err, "http://example.com"); |
| 832 | |
| 833 | assert!(matches!(cli_err, CliError::AuthenticationFailed { .. })); |
| 834 | } |
| 835 | |
| 836 | #[test] |
| 837 | fn test_convert_repo_not_found() { |
nothing calls this directly
no test coverage detected