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.
This commit is contained in:
Dave Collins 2013-07-27 15:56:17 -05:00
parent 562bde6902
commit 99b06f8bce

View File

@ -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))
}