Onboarding test: expect the reworded release message
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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()) |
| } |
| } |
| } |