- willCycle now reports a cycle when from == to, so addEdge rejects self-loops (a self-importing file was previously accepted). - removeNode now drops the removed node's outgoing edges and any incoming edges pointing at it, keeping the adjacency map consistent. Also tightens the two tests that previously only logged the buggy behavior into real assertions. Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com> |
||
|---|---|---|
| .. | ||
| caddyfile | ||
| httpcaddyfile | ||
| configadapters.go | ||
| configadapters_test.go | ||
| httploader.go | ||
| httploader_test.go | ||
| load.go | ||