()
| 994 | /// Test converting state mismatch error. |
| 995 | #[test] |
| 996 | fn test_convert_state_mismatch() { |
| 997 | let err = RemoteError::state_mismatch("ABC", "DEF"); |
| 998 | let cli_err = convert_remote_error(err, "http://example.com"); |
| 999 | |
| 1000 | assert!(matches!(cli_err, CliError::Conflict { .. })); |
| 1001 | } |
| 1002 | |
| 1003 | // Formatting Tests |
| 1004 |
nothing calls this directly
no test coverage detected