()
| 749 | /// Test converting authentication failed error. |
| 750 | #[test] |
| 751 | fn test_convert_auth_failed() { |
| 752 | let err = RemoteError::auth_failed("http://example.com", "bad token"); |
| 753 | let cli_err = convert_remote_error(err, "http://example.com"); |
| 754 | |
| 755 | assert!(matches!(cli_err, CliError::AuthenticationFailed { .. })); |
| 756 | } |
| 757 | |
| 758 | /// Test converting repository not found error. |
| 759 | #[test] |
nothing calls this directly
no test coverage detected