()
| 372 | |
| 373 | #[test] |
| 374 | fn test_invalid_header_error() { |
| 375 | let err = FormatError::InvalidHeader { |
| 376 | reason: "graph_section_count is zero but semantic_section_count is 5".to_string(), |
| 377 | }; |
| 378 | let msg = err.to_string(); |
| 379 | assert!(msg.contains("invalid header")); |
| 380 | assert!(msg.contains("graph_section_count is zero")); |
| 381 | } |
| 382 | |
| 383 | #[test] |
| 384 | fn test_postcard_error_conversion() { |
nothing calls this directly
no outgoing calls
no test coverage detected