()
| 916 | /// Test converting state mismatch error. |
| 917 | #[test] |
| 918 | fn test_convert_state_mismatch() { |
| 919 | let err = RemoteError::state_mismatch("ABC", "DEF"); |
| 920 | let cli_err = convert_remote_error(err, "http://example.com"); |
| 921 | |
| 922 | assert!(matches!(cli_err, CliError::Conflict { .. })); |
| 923 | } |
| 924 | } |
nothing calls this directly
no test coverage detected