From 99b06f8bce894796b27045c4aea626c62290d78d Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sat, 27 Jul 2013 15:56:17 -0500 Subject: [PATCH] Add format specifier in pong test error output. The error message did not have a format specifier even though it was passing an argument to show. Found by go vet. --- msgpong_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msgpong_test.go b/msgpong_test.go index 81be02c3..fb10d51e 100644 --- a/msgpong_test.go +++ b/msgpong_test.go @@ -99,7 +99,7 @@ func TestPongBIP0031(t *testing.T) { readmsg := btcwire.NewMsgPong(0) err = readmsg.BtcDecode(&buf, pver) if err == nil { - t.Errorf("decode of MsgPong succeeded when it shouldn't have", + t.Errorf("decode of MsgPong succeeded when it shouldn't have %v", spew.Sdump(buf)) }