package main import ( "os" "path/filepath" "testing" ) // The checker runs gofmt, go vet and both test levels by Go's convention, and the build module starts the bus the // integration level needs (novox/hq ADR 0529): no script of the repository's own runs beside them. func TestTheRepositoryHoldsNoCheckScript(t *testing.T) { if _, err := os.Stat(filepath.Join("..", "..", "merge-check.sh")); err == nil { t.Fatal("merge-check.sh is back: the checker's levels run the tests") } }