We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f8b548 commit 9745014Copy full SHA for 9745014
iterator/iterator_test.go
@@ -39,7 +39,7 @@ type service struct {
39
func (s *service) List(pageSize int, pageToken string) ([]int, string, error) {
40
max := s.max
41
if max == 0 {
42
- max = math.MaxInt64
+ max = math.MaxInt
43
}
44
// Never give back any more than s.max.
45
if pageSize <= 0 || pageSize > max {
0 commit comments