()
| 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 | } |
nothing calls this directly
no test coverage detected