()
| 853 | /// Test converting state mismatch error. |
| 854 | #[test] |
| 855 | fn test_convert_state_mismatch() { |
| 856 | let err = RemoteError::state_mismatch("ABC", "DEF"); |
| 857 | let cli_err = convert_remote_error(err, "http://example.com"); |
| 858 | |
| 859 | assert!(matches!(cli_err, CliError::Conflict { .. })); |
| 860 | } |
| 861 | |
| 862 | // Formatting Tests |
| 863 |
nothing calls this directly
no test coverage detected