summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/stretchr/testify/http/test_round_tripper.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/stretchr/testify/http/test_round_tripper.go')
-rw-r--r--vendor/github.com/stretchr/testify/http/test_round_tripper.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/vendor/github.com/stretchr/testify/http/test_round_tripper.go b/vendor/github.com/stretchr/testify/http/test_round_tripper.go
deleted file mode 100644
index b1e32f1d8..000000000
--- a/vendor/github.com/stretchr/testify/http/test_round_tripper.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package http
-
-import (
- "github.com/stretchr/testify/mock"
- "net/http"
-)
-
-// TestRoundTripper DEPRECATED USE net/http/httptest
-type TestRoundTripper struct {
- mock.Mock
-}
-
-// RoundTrip DEPRECATED USE net/http/httptest
-func (t *TestRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) {
- args := t.Called(req)
- return args.Get(0).(*http.Response), args.Error(1)
-}