MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_error_file_too_large

Function test_error_file_too_large

atomic-repository/src/record/tests.rs:223–232  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221
222#[test]
223fn 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected