Add a missing 'f' in t.Errorf

This commit is contained in:
Michael Haro 2015-02-25 22:23:47 -08:00
parent 2fb2a25e84
commit 3cfc96a979
1 changed files with 1 additions and 1 deletions

View File

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