Review of H-A-763 (3): the start case of the group row reads only the asks of its own start
Builds: design 47 H2 H-A-763 (3)
This commit is contained in:
@@ -550,10 +550,11 @@ func TestAReopenedGroupIsClosedOverTheHeadsEdges(t *testing.T) {
|
||||
var group []string
|
||||
switch how {
|
||||
case "start":
|
||||
before := len(asks.asks)
|
||||
if _, err := v.Start("op@shanks", seat.StartInput{Branch: "main", Module: "lib", Why: "again"}); err != nil {
|
||||
t.Fatalf("%s: %v", how, err)
|
||||
}
|
||||
for _, a := range asks.asks[2:] {
|
||||
for _, a := range asks.asks[before:] {
|
||||
if b, ok := a.(nodebuildgo.StepAsk); ok && b.Step != nil && !slices.Contains(group, b.Step.Module) {
|
||||
group = append(group, b.Step.Module)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user