()
| 890 | /// Test converting authentication failed error. |
| 891 | #[test] |
| 892 | fn test_convert_auth_failed() { |
| 893 | let err = RemoteError::auth_failed("http://example.com", "bad token"); |
| 894 | let cli_err = convert_remote_error(err, "http://example.com"); |
| 895 | |
| 896 | assert!(matches!(cli_err, CliError::AuthenticationFailed { .. })); |
| 897 | } |
| 898 | |
| 899 | /// Test converting repository not found error. |
| 900 | #[test] |
nothing calls this directly
no test coverage detected