Name no node: trim node names from the per-module manifest denylists now that the catalogue-wide check covers them (1838/AC1)
This commit is contained in:
@@ -100,7 +100,8 @@ func TestTheToolsAgreeWithTheManifest(t *testing.T) {
|
||||
t.Errorf("the Go tools bundle: %v", b)
|
||||
}
|
||||
s := strings.ToLower(raw)
|
||||
for _, never := range []string{"/home/", "jochen", "g14", "shanks", "novox.be", "http", "password", "token"} {
|
||||
// 1838/AC1: the catalogue-wide check covers a node's name now; this list keeps what it does not.
|
||||
for _, never := range []string{"/home/", "jochen", "http", "password", "token"} {
|
||||
if strings.Contains(s, never) {
|
||||
t.Errorf("module.json names %q", never)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user