Add a missing 'f' in t.Errorf
This commit is contained in:
parent
2fb2a25e84
commit
3cfc96a979
|
@ -30,7 +30,7 @@ func TestDynamicUpdateUnpack(t *testing.T) {
|
|||
msg := new(Msg)
|
||||
err := msg.Unpack(buf)
|
||||
if err != nil {
|
||||
t.Error("failed to unpack: %v\n%s", err, msg.String())
|
||||
t.Errorf("failed to unpack: %v\n%s", err, msg.String())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue