From 8727b11dfb867f2e20b2f61f275a0a61dd28cd98 Mon Sep 17 00:00:00 2001 From: Mikio Hara Date: Mon, 16 Jan 2012 14:57:18 +0900 Subject: [PATCH] net: consistent log format in test R=golang-dev, adg CC=golang-dev https://golang.org/cl/5545062 --- src/pkg/net/server_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pkg/net/server_test.go b/src/pkg/net/server_test.go index 5475d3874fe..29d2532a1ed 100644 --- a/src/pkg/net/server_test.go +++ b/src/pkg/net/server_test.go @@ -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" {