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

Function test_deserialize_wrong_magic

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

Source from the content-addressed store, hash-verified

998
999 #[test]
1000 fn test_deserialize_wrong_magic() {
1001 let result = Attestation::deserialize(b"NOPE____data");
1002 assert!(result.is_err());
1003 }
1004
1005 #[test]
1006 fn test_deserialize_corrupted_payload() {

Callers

nothing calls this directly

Calls 1

deserializeFunction · 0.85

Tested by

no test coverage detected