Skip to content

Commit

Permalink
Remove unused testing.T from mock request
Browse files Browse the repository at this point in the history
  • Loading branch information
Stein Fletcher committed Nov 16, 2019
1 parent e8d3184 commit 5e28553
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"sort"
"strings"
"sync"
"testing"
)

// Transport wraps components used to observe and manipulate the real request and response objects
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5e28553

Please sign in to comment.