vendor: update all dependencies
This commit is contained in:
+2
-2
@@ -78,7 +78,7 @@ func TestRetry(t *testing.T) {
|
||||
t.Errorf("%s: Retry returned err %v", tt.desc, err)
|
||||
}
|
||||
if got := resp.StatusCode; got != tt.wantStatus {
|
||||
t.Errorf("%s: Retry returned response with StatusCode=%d; want %d", got, tt.wantStatus)
|
||||
t.Errorf("%s: Retry returned response with StatusCode=%d; want %d", tt.desc, got, tt.wantStatus)
|
||||
}
|
||||
if len(tt.respStatus) != 0 {
|
||||
t.Errorf("%s: f was not called enough; status codes remaining: %v", tt.desc, tt.respStatus)
|
||||
@@ -120,7 +120,7 @@ func TestRetryClosesBody(t *testing.T) {
|
||||
want := i != 2 // Only the last response should not be closed.
|
||||
got := resp.Body.(*checkCloseReader).closed
|
||||
if got != want {
|
||||
t.Errorf("response[%d].Body closed = %t, want %t", got, want)
|
||||
t.Errorf("response[%d].Body closed = %t, want %t", i, got, want)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user