Draw a plan's order per module from the graph and the manifests' change, and read no after: line (issue 977, part B, ADR 0419)
This commit is contained in:
@@ -42,12 +42,12 @@ func TestDependenciesAreOneRelationWithTheirKinds(t *testing.T) {
|
||||
return false
|
||||
}
|
||||
for _, want := range []Edge{
|
||||
{"shop", "mesh-tools", EdgeStandsOn},
|
||||
{"builder", "mesh-tools", EdgeStandsOn},
|
||||
{"shop-plugin", "shop", EdgeDeclared},
|
||||
{"shop", "builder", EdgeBuiltBy},
|
||||
{"mesh-controller", "builder", EdgeBuiltBy},
|
||||
{"mesh-tools", "builder", EdgeBuiltBy},
|
||||
{From: "shop", To: "mesh-tools", Kind: EdgeStandsOn},
|
||||
{From: "builder", To: "mesh-tools", Kind: EdgeStandsOn},
|
||||
{From: "shop-plugin", To: "shop", Kind: EdgeDeclared},
|
||||
{From: "shop", To: "builder", Kind: EdgeBuiltBy},
|
||||
{From: "mesh-controller", To: "builder", Kind: EdgeBuiltBy},
|
||||
{From: "mesh-tools", To: "builder", Kind: EdgeBuiltBy},
|
||||
} {
|
||||
if !has(want.From, want.To, want.Kind) {
|
||||
t.Errorf("missing %+v in %+v", want, got)
|
||||
|
||||
Reference in New Issue
Block a user