1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-28 08:38:39 +02:00

Fix formatting (#1071)

This commit is contained in:
ferhat elmas 2018-02-25 22:42:58 +01:00 committed by Vishal Rana
parent 6da0483447
commit 3641cbcdad

View File

@ -93,9 +93,9 @@ func TestGzipWithStatic(t *testing.T) {
defer r.Close() defer r.Close()
want, err := ioutil.ReadFile("../_fixture/images/walle.png") want, err := ioutil.ReadFile("../_fixture/images/walle.png")
if assert.NoError(t, err) { if assert.NoError(t, err) {
buf := new(bytes.Buffer) buf := new(bytes.Buffer)
buf.ReadFrom(r) buf.ReadFrom(r)
assert.Equal(t, want, buf.Bytes()) assert.Equal(t, want, buf.Bytes())
} }
} }
} }