diff --git a/internal/web/uploads_badinput_handler_test.go b/internal/web/uploads_badinput_handler_test.go index 376d935..b23648f 100644 --- a/internal/web/uploads_badinput_handler_test.go +++ b/internal/web/uploads_badinput_handler_test.go @@ -1,10 +1,8 @@ package web_test import ( - "bytes" "context" "fmt" - "io" "log/slog" "net/http" "testing" @@ -72,7 +70,7 @@ func TestUploadPost_EveryBidirectionalControlCharacterIsStrippedFromATitle(t *te t.Run(fmt.Sprintf("U+%04X", c), func(t *testing.T) { app, sub := newUploadApp(t, audioOK, 200<<20) - rec := do(t, app, uploadReq(t, "Sprint "+string(c)+"review", "a.m4a", []byte("x"))) + rec := do(t, app, uploadReq(t, "Sprint"+string(c)+"review", "a.m4a", []byte("x"))) require.Equal(t, http.StatusSeeOther, rec.Code) var title string