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

Function load_missing_delegation_is_not_found

atomic-identity/src/store.rs:1118–1124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1116
1117 #[test]
1118 fn load_missing_delegation_is_not_found() {
1119 let (_dir, store) = store();
1120 match store.load_delegation("NOPE") {
1121 Err(IdentityError::DelegationNotFound { id }) => assert_eq!(id, "NOPE"),
1122 other => panic!("expected DelegationNotFound, got {other:?}"),
1123 }
1124 }
1125
1126 #[test]
1127 fn list_skips_revocations_and_sorts() {

Callers

nothing calls this directly

Calls 2

storeFunction · 0.85
load_delegationMethod · 0.80

Tested by

no test coverage detected