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

Function test_dependency_info_new

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

Source from the content-addressed store, hash-verified

860
861 #[test]
862 fn test_dependency_info_new() {
863 let hash = Hash::of(b"test");
864 let info = UnrecordDependencyInfo::new(hash);
865
866 assert!(info.can_unrecord);
867 assert!(info.dependencies.is_empty());
868 assert!(info.dependents.is_empty());
869 assert!(!info.has_dependents());
870 }
871
872 #[test]
873 fn test_dependency_info_add_dependency() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected