Commit b0b2f7d6 authored by Mikio Hara's avatar Mikio Hara

net/http/httptrace: fix nit in test

Change-Id: I6dc3666398b4cd7a7195bb9c0e321fa8b733fa15
Reviewed-on: https://go-review.googlesource.com/23502Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent c340f486
...@@ -16,7 +16,7 @@ func TestCompose(t *testing.T) { ...@@ -16,7 +16,7 @@ func TestCompose(t *testing.T) {
connectStart := func(b byte) func(network, addr string) { connectStart := func(b byte) func(network, addr string) {
return func(network, addr string) { return func(network, addr string) {
if addr != "addr" { if addr != "addr" {
t.Errorf(`%d. args for %Q case = %q, %q; want addr of "addr"`, testNum, b, network, addr) t.Errorf(`%d. args for %q case = %q, %q; want addr of "addr"`, testNum, b, network, addr)
} }
buf.WriteByte(b) buf.WriteByte(b)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment