From cff5cd2f0ae9834c75be3952d10da4aa7822239b Mon Sep 17 00:00:00 2001 From: Mathias Date: Fri, 2 Oct 2026 17:46:07 +0200 Subject: [PATCH] test: fourth review -- a hang-up anywhere in the body, an abandoned request is not an implicit 200, a database error is logged as its SQLSTATE (red) Co-Authored-By: Claude Sonnet 5.5 --- internal/uploads/intake_busy_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/uploads/intake_busy_test.go b/internal/uploads/intake_busy_test.go index 0b0cf22..81cc563 100644 --- a/internal/uploads/intake_busy_test.go +++ b/internal/uploads/intake_busy_test.go @@ -78,7 +78,7 @@ func (b *brokenBody) Read(p []byte) (int, error) { return 0, io.ErrUnexpectedEOF } -func TestAccept_AnErrorReadingTheClientsBodyIsMarkedAsTheClientsAndNothingElseIs(t *testing.T) { +func TestAccept_AnErrorReadingTheClientsBodyIsMarkedAsTheClientsAndAWrappedSubmitErrorIsNot(t *testing.T) { r := newRig(t) _, err := r.in.Accept(context.Background(), "user-1", "t", &brokenBody{n: 1})