()
| 430 | |
| 431 | #[test] |
| 432 | fn test_hash_mismatch_error() { |
| 433 | let err = FormatError::HashMismatch { |
| 434 | expected: "AAAA".to_string(), |
| 435 | computed: "BBBB".to_string(), |
| 436 | }; |
| 437 | let msg = err.to_string(); |
| 438 | assert!(msg.contains("hash mismatch")); |
| 439 | assert!(msg.contains("AAAA")); |
| 440 | assert!(msg.contains("BBBB")); |
| 441 | } |
| 442 | |
| 443 | #[test] |
| 444 | fn test_hash_not_found_error() { |
nothing calls this directly
no outgoing calls
no test coverage detected