()
| 668 | |
| 669 | #[test] |
| 670 | fn test_error_display_format() { |
| 671 | // Ensure Display is implemented and produces human-readable output |
| 672 | let err = FormatError::HashMismatch { |
| 673 | expected: "AAAA1234".to_string(), |
| 674 | computed: "BBBB5678".to_string(), |
| 675 | }; |
| 676 | let display = format!("{}", err); |
| 677 | assert!(display.contains("hash mismatch")); |
| 678 | assert!(display.contains("AAAA1234")); |
| 679 | assert!(display.contains("BBBB5678")); |
| 680 | } |
| 681 | } |
nothing calls this directly
no outgoing calls
no test coverage detected