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

Function test_deserialize_too_short

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

Source from the content-addressed store, hash-verified

1513
1514 #[test]
1515 fn test_deserialize_too_short() {
1516 let result = Attestation::deserialize(b"AT");
1517 assert!(result.is_err());
1518 }
1519
1520 #[test]
1521 fn test_deserialize_wrong_magic() {

Callers

nothing calls this directly

Calls 1

deserializeFunction · 0.50

Tested by

no test coverage detected