()
| 647 | |
| 648 | #[test] |
| 649 | fn test_convert_auth_failed() { |
| 650 | let err = RemoteError::auth_failed("http://example.com", "invalid token"); |
| 651 | let cli_err = convert_remote_error(err, "http://example.com"); |
| 652 | |
| 653 | assert!(matches!(cli_err, CliError::AuthenticationFailed { .. })); |
| 654 | } |
| 655 | |
| 656 | #[test] |
| 657 | fn test_convert_repo_not_found() { |
nothing calls this directly
no test coverage detected