()
| 660 | |
| 661 | #[test] |
| 662 | fn test_error_debug_format() { |
| 663 | // Ensure Debug is implemented and doesn't panic |
| 664 | let err = FormatError::InvalidMagic { got: [1, 2, 3, 4] }; |
| 665 | let debug = format!("{:?}", err); |
| 666 | assert!(debug.contains("InvalidMagic")); |
| 667 | } |
| 668 | |
| 669 | #[test] |
| 670 | fn test_error_display_format() { |
nothing calls this directly
no outgoing calls
no test coverage detected