Skip to content
This repository has been archived by the owner on Jun 5, 2021. It is now read-only.

Commit

Permalink
decoder: fix Errorf call in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Jan 16, 2017
1 parent 48a931a commit 43b85ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func TestDecoder_Errors(t *testing.T) {
err = d.Decode(m)
s = s.reset()
if err == nil {
t.Error("%s(%d) should fail", name, i)
t.Errorf("%s(%d) should fail", name, i)
}
}
}

0 comments on commit 43b85ad

Please sign in to comment.