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

Function test_is_compression

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

Source from the content-addressed store, hash-verified

522
523 #[test]
524 fn test_is_compression() {
525 assert!(FormatError::Compress("x".into()).is_compression());
526 assert!(FormatError::Decompress("x".into()).is_compression());
527 assert!(!FormatError::HashTableFull.is_compression());
528 }
529
530 #[test]
531 fn test_is_hash_error() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected