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

Function test_compress_error

atomic-core/src/change/format_v3/error.rs:397–402  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected