Fix govet errors for %w use in test errors. (#8083)

The %w syntax is a fmt.Errorf thing, not supported by the testing package.
This commit is contained in:
M. J. Fromberger
2022-03-07 18:17:37 +00:00
committed by GitHub
parent 1f03287f52
commit 2df5c85a8d
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -493,7 +493,7 @@ func TestVoteSet_MakeCommit(t *testing.T) {
// Ensure that Commit is good.
if err := commit.ValidateBasic(); err != nil {
t.Errorf("error in Commit.ValidateBasic(): %w", err)
t.Errorf("error in Commit.ValidateBasic(): %v", err)
}
}