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

Function test_deserialize_too_short

atomic-core/src/change/attestation.rs:994–997  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

992
993 #[test]
994 fn test_deserialize_too_short() {
995 let result = Attestation::deserialize(b"AT");
996 assert!(result.is_err());
997 }
998
999 #[test]
1000 fn test_deserialize_wrong_magic() {

Callers

nothing calls this directly

Calls 1

deserializeFunction · 0.85

Tested by

no test coverage detected