Skip to content

Commit

Permalink
EmptyTransporter to return nil in connection_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dszmolka committed Jan 14, 2025
1 parent 4b27f9c commit fe70023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -829,8 +829,8 @@ func TestBeginCreatesTransaction(t *testing.T) {

type EmptyTransporter struct{}

func (t EmptyTransporter) RoundTrip(req *http.Request) (*http.Response, error) {
return snowflakeInsecureTransport.RoundTrip(req)
func (t EmptyTransporter) RoundTrip(*http.Request) (*http.Response, error) {
return nil, nil
}

func TestGetTransport(t *testing.T) {
Expand Down

0 comments on commit fe70023

Please sign in to comment.