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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue