()
| 652 | /// Test converting authentication failed error. |
| 653 | #[test] |
| 654 | fn test_convert_auth_failed() { |
| 655 | let err = RemoteError::auth_failed("http://example.com", "bad token"); |
| 656 | let cli_err = convert_remote_error(err, "http://example.com"); |
| 657 | |
| 658 | assert!(matches!(cli_err, CliError::AuthenticationFailed { .. })); |
| 659 | } |
| 660 | |
| 661 | /// Test converting repository not found error. |
| 662 | #[test] |
nothing calls this directly
no test coverage detected