Server: Remove blank lines in gzip_test.go

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2025-12-12 11:34:05 +01:00
parent 526974d441
commit c8268dfcf9

View file

@ -68,7 +68,6 @@ func TestGzipMiddleware(t *testing.T) {
require.NoError(t, err)
assert.Equal(t, "hello world", string(b))
})
t.Run("DoesNotCompressExcludedPaths", func(t *testing.T) {
w := httptest.NewRecorder()
req := httptest.NewRequest("GET", excludedPath, nil)
@ -80,7 +79,6 @@ func TestGzipMiddleware(t *testing.T) {
assert.Empty(t, w.Header().Get("Content-Encoding"))
assert.Equal(t, "download", w.Body.String())
})
t.Run("DoesNotCompressNotFound", func(t *testing.T) {
w := httptest.NewRecorder()
req := httptest.NewRequest("GET", "/missing", nil)