()
| 898 | /// Test converting state mismatch error. |
| 899 | #[test] |
| 900 | fn test_convert_state_mismatch() { |
| 901 | let err = RemoteError::state_mismatch("ABC", "DEF"); |
| 902 | let cli_err = convert_remote_error(err, "http://example.com"); |
| 903 | |
| 904 | assert!(matches!(cli_err, CliError::Conflict { .. })); |
| 905 | } |
| 906 | } |
nothing calls this directly
no test coverage detected