优化代码

This commit is contained in:
GoEdgeLab
2022-11-29 15:33:12 +08:00
parent 29317957d5
commit 22d04c8c23
5 changed files with 8 additions and 15 deletions

View File

@@ -67,10 +67,3 @@ func TestRange_ComposeContentRangeHeader(t *testing.T) {
var r = rangeutils.NewRange(1, 100)
t.Log(r.ComposeContentRangeHeader("1000"))
}
func TestRange_SetLength(t *testing.T) {
var r = rangeutils.NewRange(1, 100)
t.Log(r)
t.Log(r.SetLength(1024))
}