mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-14 15:56:44 +03:00
Format errors (#679)
* format errors * Server is a type name * Fix typo
This commit is contained in:
committed by
Erik Dubbelboer
parent
18c619fb04
commit
707b1c1917
@@ -65,7 +65,7 @@ func testWriter(newWriter NewWriterFunc, newReader func(io.Reader) io.Reader) er
|
||||
|
||||
for i := 0; i < 5; i++ {
|
||||
if err := testWriterReuse(w, dstW, newReader); err != nil {
|
||||
return fmt.Errorf("unepxected error when re-using writer on iteration %d: %s", i, err)
|
||||
return fmt.Errorf("unexpected error when re-using writer on iteration %d: %s", i, err)
|
||||
}
|
||||
dstW = &bytes.Buffer{}
|
||||
w.Reset(dstW)
|
||||
|
||||
Reference in New Issue
Block a user