Skip to content

Commit f78dc15

Browse files
committed
fix Benchmark_Ctx_Range start/end compare
dataType issue -> int vs int64
1 parent 4e98910 commit f78dc15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ctx_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3675,8 +3675,8 @@ func Benchmark_Ctx_Range(b *testing.B) {
36753675

36763676
testCases := []struct {
36773677
str string
3678-
start int
3679-
end int
3678+
start int64
3679+
end int64
36803680
}{
36813681
{str: "bytes=-700", start: 300, end: 999},
36823682
{str: "bytes=500-", start: 500, end: 999},

0 commit comments

Comments
 (0)