mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 09:50:08 +01:00
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:
parent
562bde6902
commit
99b06f8bce
@ -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))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user