Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(182)

Unified Diff: src/pkg/http/client_test.go

Issue 4239044: code review 4239044: http: expose Client's Transport (Closed)
Patch Set: diff -r c8dd9e29a20c https://go.googlecode.com/hg/ Created 14 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/http/client.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/http/client_test.go
===================================================================
--- a/src/pkg/http/client_test.go
+++ b/src/pkg/http/client_test.go
@@ -51,7 +51,7 @@
func TestGetRequestFormat(t *testing.T) {
tr := &recordingTransport{}
- client := &Client{transport: tr}
+ client := &Client{Transport: tr}
url := "http://dummy.faketld/"
client.Get(url) // Note: doesn't hit network
if tr.req.Method != "GET" {
« no previous file with comments | « src/pkg/http/client.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b