From 5e28553c76f4954081d5624b01c72445a4f219ec Mon Sep 17 00:00:00 2001 From: Stein Fletcher Date: Sat, 16 Nov 2019 13:10:43 +0000 Subject: [PATCH] Remove unused testing.T from mock request --- mocks.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/mocks.go b/mocks.go index 5b5555e..63316c8 100644 --- a/mocks.go +++ b/mocks.go @@ -15,7 +15,6 @@ import ( "sort" "strings" "sync" - "testing" ) // Transport wraps components used to observe and manipulate the real request and response objects @@ -220,7 +219,6 @@ func (m *Mock) Matches(req *http.Request) []error { // MockRequest represents the http request side of a mock interaction type MockRequest struct { - t *testing.T mock *Mock url *url.URL method string