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

Unified Diff: src/pkg/net/http/serve_test.go

Issue 96850043: code review 96850043: src: fix issues found by go vet std (Closed)
Patch Set: diff -r e141dda580af https://code.google.com/p/go Created 10 years, 11 months 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/html/template/escape.go ('k') | src/pkg/net/http/transport_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/net/http/serve_test.go
===================================================================
--- a/src/pkg/net/http/serve_test.go
+++ b/src/pkg/net/http/serve_test.go
@@ -2325,7 +2325,7 @@
ts.Config.ErrorLog = log.New(ioutil.Discard, "", 0)
ts.Config.ConnState = func(c net.Conn, state ConnState) {
if c == nil {
- t.Error("nil conn seen in state %s", state)
+ t.Errorf("nil conn seen in state %s", state)
return
}
mu.Lock()
« no previous file with comments | « src/pkg/html/template/escape.go ('k') | src/pkg/net/http/transport_test.go » ('j') | no next file with comments »

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