test(e2e): discard the deferred Close error golangci-lint flags
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -92,7 +92,7 @@ func TestE2E_UploadTranscribeAndChat(t *testing.T) {
|
||||
// 1. Upload.
|
||||
f, err := os.Open(audioPath)
|
||||
require.NoError(t, err)
|
||||
defer f.Close()
|
||||
defer func() { _ = f.Close() }()
|
||||
pr, pw := io.Pipe()
|
||||
mw := multipart.NewWriter(pw)
|
||||
go func() {
|
||||
|
||||
Reference in New Issue
Block a user