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

Function test_decompress_error

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

Source from the content-addressed store, hash-verified

403
404 #[test]
405 fn test_decompress_error() {
406 let err = FormatError::Decompress("corrupt zstd frame".to_string());
407 let msg = err.to_string();
408 assert!(msg.contains("decompression error"));
409 assert!(msg.contains("corrupt zstd frame"));
410 }
411
412 #[test]
413 fn test_hash_table_full_error() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected