mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-22 18:18:39 +00:00
Server: Remove blank lines in gzip_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
526974d441
commit
c8268dfcf9
1 changed files with 0 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue