13 lines
463 B
Go
13 lines
463 B
Go
package main
|
|
|
|
import "testing"
|
|
|
|
// C2 (ADR 0503 §3; issue 1299): a delivery group's composed check is answered as the checker's, and nothing is asked
|
|
// of build-agent: the command answers before any ask is composed.
|
|
func TestTheGroupCheckNamesTheCheckerAndAsksNothing(t *testing.T) {
|
|
a := groupCheckAnswer("feat/x")
|
|
if a["judged-by"] != "mesh-delivery-checker" || a["asked"] != "" || a["group"] != "feat/x" {
|
|
t.Fatalf("the group check answered %v", a)
|
|
}
|
|
}
|