()
| 452 | |
| 453 | #[test] |
| 454 | fn test_io_error_conversion() { |
| 455 | let io_err = std::io::Error::new(std::io::ErrorKind::NotFound, "file not found"); |
| 456 | let format_err: FormatError = io_err.into(); |
| 457 | assert!(format_err.is_io()); |
| 458 | assert!(!format_err.is_serialization()); |
| 459 | } |
| 460 | |
| 461 | #[test] |
| 462 | fn test_invalid_section_type_error() { |
nothing calls this directly
no outgoing calls
no test coverage detected