Format errors (#679)

* format errors

* Server is a type name

* Fix typo
This commit is contained in:
ZhangYunHao
2019-10-23 20:12:59 +08:00
committed by Erik Dubbelboer
parent 18c619fb04
commit 707b1c1917
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -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)