()
| 221 | |
| 222 | #[test] |
| 223 | fn test_error_file_too_large() { |
| 224 | let err = RecordError::FileTooLarge { |
| 225 | path: "big.bin".to_string(), |
| 226 | size: 100_000_000, |
| 227 | limit: 10_000_000, |
| 228 | }; |
| 229 | let msg = format!("{}", err); |
| 230 | assert!(msg.contains("big.bin")); |
| 231 | assert!(msg.contains("100000000")); |
| 232 | } |
| 233 | |
| 234 | // RecordStats Tests |
| 235 |
nothing calls this directly
no outgoing calls
no test coverage detected