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:
parent
6da0483447
commit
3641cbcdad
@ -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())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user