mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-18 22:14:35 +00:00
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:
@@ -167,7 +167,7 @@ func TestWait(t *testing.T) {
|
||||
defer close(done)
|
||||
got, err := q.Wait(ctx)
|
||||
if err != nil {
|
||||
t.Errorf("Wait: unexpected error: %w", err)
|
||||
t.Errorf("Wait: unexpected error: %v", err)
|
||||
} else if got != input {
|
||||
t.Errorf("Wait: got %q, want %q", got, input)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user