1
0
mirror of https://github.com/golang/go synced 2024-11-21 22:54:40 -07:00

net: consistent log format in test

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5545062
This commit is contained in:
Mikio Hara 2012-01-16 14:57:18 +09:00
parent cdf7654062
commit 8727b11dfb

View File

@ -91,7 +91,7 @@ func connect(t *testing.T, network, addr string, isEmpty bool) {
}
func doTest(t *testing.T, network, listenaddr, dialaddr string) {
t.Logf("Test %q %q %q\n", network, listenaddr, dialaddr)
t.Logf("Test %q %q %q", network, listenaddr, dialaddr)
switch listenaddr {
case "", "0.0.0.0", "[::]", "[::ffff:0.0.0.0]":
if testing.Short() || avoidMacFirewall {
@ -194,7 +194,7 @@ Run:
}
func doTestPacket(t *testing.T, network, listenaddr, dialaddr string, isEmpty bool) {
t.Logf("TestPacket %s %s %s\n", network, listenaddr, dialaddr)
t.Logf("TestPacket %q %q %q", network, listenaddr, dialaddr)
listening := make(chan string)
done := make(chan int)
if network == "udp" {