()
| 670 | /// Test converting authentication failed error. |
| 671 | #[test] |
| 672 | fn test_convert_auth_failed() { |
| 673 | let err = RemoteError::auth_failed("http://example.com", "bad token"); |
| 674 | let cli_err = convert_remote_error(err, "http://example.com"); |
| 675 | |
| 676 | assert!(matches!(cli_err, CliError::AuthenticationFailed { .. })); |
| 677 | } |
| 678 | |
| 679 | /// Test converting repository not found error. |
| 680 | #[test] |
nothing calls this directly
no test coverage detected