Skip to content

Commit 3e333bd

Browse files
committed
clean up stale comments
1 parent c491bb4 commit 3e333bd

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

auth/client.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ func (t *HTTPTransport) RoundTrip(req *http.Request) (*http.Response, error) {
6969
base := t.opts.Base
7070
t.mu.Unlock()
7171

72-
// req1 is our first request in the authorization flow.
73-
//
74-
// If we mutate its body, we must clone it first.
7572
var (
7673
// If haveBody is set, the request has a nontrivial body, and we need avoid
7774
// reading (or closing) it multiple times. In that case, bodyBytes is its

auth/client_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ func TestHTTPTransport(t *testing.T) {
122122
client := &http.Client{Transport: transport}
123123

124124
resp, err := client.Post(authServer.URL, "application/json", &basicReader{strings.NewReader("{}")})
125-
// resp, err := client.Post(authServer.URL, "application/json", strings.NewReader("{}"))
126125
if err != nil {
127126
t.Fatalf("client.Post() failed: %v", err)
128127
}

0 commit comments

Comments
 (0)