MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / missing_dependency

Function missing_dependency

nodedb-cluster/src/subsystem/topo_sort.rs:214–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212
213 #[test]
214 fn missing_dependency() {
215 let subsystems = vec![mock("a", &["nonexistent"])];
216 let err = topo_sort(&subsystems).unwrap_err();
217 assert!(
218 matches!(err, TopoError::UnknownDependency { dependency, .. } if dependency == "nonexistent")
219 );
220 }
221}

Callers

nothing calls this directly

Calls 1

topo_sortFunction · 0.85

Tested by

no test coverage detected