oficina / equipo Public

Onboarding test: expect the reworded release message

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 8e3c1c9857069d5484455ccbf49acf012faf8c0a parent a8456d4
1 file changed, +2 −2
  • cmd/equipo-runner/onboarding_test.go +2 −2

CI passed — run details

diff --git a/cmd/equipo-runner/onboarding_test.go b/cmd/equipo-runner/onboarding_test.go
index 1e0aab82..eb8b3b96 100644
--- a/cmd/equipo-runner/onboarding_test.go
+++ b/cmd/equipo-runner/onboarding_test.go
@@ -15,8 +15,8 @@ import (
func TestOnboardingInstallVersioned(t *testing.T) {
for _, args := range [][]string{{"install", "--release", "latest"}, {"install", "--release", "fixture-16", "--origin", "https://example.test"}, {"install", "--root", "/usr/local"}} {
var out, errout bytes.Buffer
- if run(context.Background(), args, strings.NewReader(""), &out, &errout, func(string) string { return "" }) != 1 || !strings.Contains(errout.String(), "certified") {
- t.Fatalf("uncertified install exposed: %s", errout.String())
+ if run(context.Background(), args, strings.NewReader(""), &out, &errout, func(string) string { return "" }) != 1 || !strings.Contains(errout.String(), "A versioned runner release is not available.") {
+ t.Fatalf("an install without a versioned release went ahead: %s", errout.String())
}
}
}