Revert the deliberate break (#8372)
release / go (push) Successful in 1m52s
release / integration (push) Successful in 2m38s
release / web (push) Successful in 1m8s
release / govulncheck (push) Successful in 19s
release / android (push) Successful in 4m17s
release / Build signed APK (push) Successful in 4m43s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Publish the release image to GHCR (dispatch only) (push) Skipped
release / Build + push container image (push) Successful in 13s
release / Verify release artifacts (tag releases only) (push) Skipped

This reverts commit 8af3c41b. Runs 11328 and 11329 showed what each lane
prints for a failing test, and that the step goes red with go test's own
status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 22:11:43 -05:00
co-authored by Claude Opus 5.5
parent f5ad422c17
commit 2ce4fd3edb
3 changed files with 2 additions and 8 deletions
+1 -6
View File
@@ -6,7 +6,7 @@ func TestCount(t *testing.T) {
cases := []struct {
got, want string
}{
{Count(1, "track", "tracks"), "1 tracks"}, // DELIBERATE BREAK #8372
{Count(1, "track", "tracks"), "1 track"},
{Count(0, "track", "tracks"), "0 tracks"},
{Count(int64(3), "track went missing", "tracks went missing"), "3 tracks went missing"},
{Count(int32(-1), "copy", "copies"), "-1 copies"},
@@ -17,8 +17,3 @@ func TestCount(t *testing.T) {
}
}
}
func TestDeliberatePanic(t *testing.T) { // DELIBERATE BREAK #8372
t.Log("this line must appear in the failed output")
panic("deliberate break (#8372): a test binary that dies mid-test")
}