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/delivery covered after its stop: a later walk that contains it was delivered: plan-1792707174627079192 (novox/mesh-controller at 289bbf68 into main,…
mesh/delivery-group group feat/r4e delivered: every member is delivered
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/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/delivery covered after its stop: a later walk that contains it was delivered: plan-1792707174627079192 (novox/mesh-controller at 289bbf68 into main,…
mesh/delivery-group group feat/r4e delivered: every member is delivered
mesh/check failed: unit: ..test: node:internal/modules/esm/resolve:989 | d51324df4518 on f2a4363a1a77 | unit 1 run, 0 kept | integration 0 run, 0 kept…
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user