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

Function test_unrecord_error_has_dependents

atomic-repository/src/unrecord.rs:921–929  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

919
920 #[test]
921 fn test_unrecord_error_has_dependents() {
922 let error = UnrecordError::HasDependents {
923 hash: "ABC123".to_string(),
924 dependents: vec!["DEF456".to_string(), "GHI789".to_string()],
925 };
926 let msg = format!("{}", error);
927 assert!(msg.contains("ABC123"));
928 assert!(msg.contains("DEF456"));
929 }
930
931 #[test]
932 fn test_unrecord_error_view_not_found() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected