优化代码

This commit is contained in:
刘祥超
2021-08-07 16:27:42 +08:00
parent 00df3fca84
commit 06db07ac4b
4 changed files with 37 additions and 10 deletions

View File

@@ -49,6 +49,9 @@ func TestFileReader(t *testing.T) {
t.Log("body:", string(buf[:n]))
return true, nil
})
if err != nil {
t.Fatal(err)
}
}
func TestFileReader_Range(t *testing.T) {