Replace t.Logf("%s", var) with t.Log(var)

This commit is contained in:
Michael Haro 2015-02-26 00:30:40 -08:00
parent 3cfc96a979
commit 4437868b75
2 changed files with 3 additions and 3 deletions

View File

@ -1168,7 +1168,7 @@ func TestMalformedPackets(t *testing.T) {
for _, packet := range packets { for _, packet := range packets {
data, _ := hex.DecodeString(packet) data, _ := hex.DecodeString(packet)
// for _, v := range data { // for _, v := range data {
// t.Logf("%s ", string(v)) // t.Log(v)
// } // }
var msg Msg var msg Msg
msg.Unpack(data) msg.Unpack(data)

View File

@ -36,7 +36,7 @@ func testClientAXFR(t *testing.T) {
break break
} }
for _, rr := range ex.RR { for _, rr := range ex.RR {
t.Logf("%s\n", rr.String()) t.Log(rr.String())
} }
} }
} }
@ -85,7 +85,7 @@ func testClientTsigAXFR(t *testing.T) {
break break
} }
for _, rr := range ex.RR { for _, rr := range ex.RR {
t.Logf("%s\n", rr.String()) t.Log(rr.String())
} }
} }
} }