()
| 395 | |
| 396 | #[test] |
| 397 | fn test_compress_error() { |
| 398 | let err = FormatError::Compress("out of memory".to_string()); |
| 399 | let msg = err.to_string(); |
| 400 | assert!(msg.contains("compression error")); |
| 401 | assert!(msg.contains("out of memory")); |
| 402 | } |
| 403 | |
| 404 | #[test] |
| 405 | fn test_decompress_error() { |
nothing calls this directly
no outgoing calls
no test coverage detected