()
| 1013 | /// Test converting state mismatch error. |
| 1014 | #[test] |
| 1015 | fn test_convert_state_mismatch() { |
| 1016 | let err = RemoteError::state_mismatch("ABC", "DEF"); |
| 1017 | let cli_err = convert_remote_error(err, "http://example.com"); |
| 1018 | |
| 1019 | assert!(matches!(cli_err, CliError::Conflict { .. })); |
| 1020 | } |
| 1021 | |
| 1022 | // Formatting Tests |
| 1023 |
nothing calls this directly
no test coverage detected