Format the help's test (issue 1851)
mesh/repo-check head d51324df4518 merged into trunk f2a4363a1a77 beside mesh-catalog#457@896bd883 — pass: its merge-check.sh passed
mesh/merge-gate head d51324df4518 merged into trunk f2a4363a1a77 — pass: group feat/r4e composed: every machine composes with the change as it did without …
mesh/check failed: unit: ..test: node:internal/modules/esm/resolve:989 | d51324df4518 on f2a4363a1a77 | unit 1 run, 0 kept | integration 0 run, 0 kept…
mesh/delivery stopped: its walk plan-1792707174627079192 was stopped by a person (mesh-controller): issue 1886 (the operator, 02:08: fix it right now): s…
mesh/delivery-group group feat/r4e stopped: a member was stopped

This commit is contained in:
2026-10-22 21:20:06 +02:00
parent 58512a9c6d
commit d51324df45
+1 -1
View File
@@ -10,7 +10,7 @@ import (
// the ones R4e added: `register` and `switch`. // the ones R4e added: `register` and `switch`.
func TestTheHelpListsNoRemovedCommandAndTheNewOnes(t *testing.T) { func TestTheHelpListsNoRemovedCommandAndTheNewOnes(t *testing.T) {
for _, removed := range []string{"build", "rebuild", "forget-checks", "delivery plan"} { for _, removed := range []string{"build", "rebuild", "forget-checks", "delivery plan"} {
if regexp.MustCompile(`(?m)^ `+regexp.QuoteMeta(removed)+` `).MatchString(usageText) { if regexp.MustCompile(`(?m)^ ` + regexp.QuoteMeta(removed) + ` `).MatchString(usageText) {
t.Errorf("the help still lists %q, which is refused as removed", removed) t.Errorf("the help still lists %q, which is refused as removed", removed)
} }
} }