Skip to content

Commit

Permalink
fixup too many request assert
Browse files Browse the repository at this point in the history
  • Loading branch information
jasdel committed Jan 18, 2018
1 parent df379c0 commit 2f6b501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/request_pagination_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ func TestPagination_Standalone(t *testing.T) {
// Setup handlers for testing
r.Handlers.Clear()
r.Handlers.Build.PushBack(func(req *aws.Request) {
if e, a := len(c), i+1; a > e {
if e, a := len(c), i; a >= e {
t.Fatalf("expect no more than %d requests, got %d", e, a)
}
in := req.Params.(*testPageInput)
Expand Down

0 comments on commit 2f6b501

Please sign in to comment.