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

Function decode_rejects_garbage

atomic-objects/src/sync.rs:461–463  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

459
460 #[test]
461 fn decode_rejects_garbage() {
462 assert!(SyncPack::decode(b"not a zstd frame").is_err());
463 }
464}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected