优化代码

This commit is contained in:
GoEdgeLab
2021-08-07 16:27:42 +08:00
parent a709b64c81
commit 1dc8c23e3b
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) {