1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +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()
want, err := ioutil.ReadFile("../_fixture/images/walle.png")
if assert.NoError(t, err) {
buf := new(bytes.Buffer)
buf.ReadFrom(r)
assert.Equal(t, want, buf.Bytes())
buf := new(bytes.Buffer)
buf.ReadFrom(r)
assert.Equal(t, want, buf.Bytes())
}
}
}