Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: R@V <rafal.prasal@gmail.com>
pull/32478/head
R@V 1 month ago committed by GitHub
parent 24a980a098
commit 24b65312da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -134,10 +134,10 @@ func TestDownloadIndexFileWithGzipContentEncoding(t *testing.T) {
w.Header().Set("Content-Encoding", "gzip")
gzipWriter := gzip.NewWriter(w)
defer gzipWriter.Close()
_, err := gzipWriter.Write(fileBytes)
require.NoError(t, err)
require.NoError(t, gzipWriter.Close())
})
srv, err := startLocalServerForTests(handler)

Loading…
Cancel
Save