Delete merge-check.sh; the checker's levels and the build module's fetch beside run what it ran (issue 1295, S8; ADR 0529)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package manifest
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// The checker runs gofmt, go vet at both levels' tags and both test levels by Go's convention, and fetches the
|
||||
// dependencies beside the change (novox/hq ADR 0529, ADR 0484 clause 4): no script of the repository's own runs
|
||||
// beside them.
|
||||
func TestTheRepositoryHoldsNoCheckScript(t *testing.T) {
|
||||
for _, rel := range []string{"../../merge-check.sh"} {
|
||||
if _, err := os.Stat(filepath.FromSlash(rel)); err == nil {
|
||||
t.Errorf("%s is back: the checker's levels run the tests", rel)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user