Skip to content

Commit

Permalink
Fix a typo in agreement test (#3651)
Browse files Browse the repository at this point in the history
## Summary

Fix for a strange assert found by JJ

## Test Plan

This is a test fix
  • Loading branch information
algorandskiy authored Feb 18, 2022
1 parent fe43b24 commit a6f1b9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agreement/asyncVoteVerifier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func TestVerificationAgainstFullExecutionPool(t *testing.T) {
voteVerifier := MakeAsyncVoteVerifier(&expiredExecPool{mainPool})
defer voteVerifier.Quit()
verifyErr := voteVerifier.verifyVote(context.Background(), nil, unauthenticatedVote{}, 0, message{}, make(chan<- asyncVerifyVoteResponse, 1))
require.Error(t, context.Canceled, verifyErr)
require.Equal(t, context.Canceled, verifyErr)
verifyEqVoteErr := voteVerifier.verifyEqVote(context.Background(), nil, unauthenticatedEquivocationVote{}, 0, message{}, make(chan<- asyncVerifyVoteResponse, 1))
require.Error(t, context.Canceled, verifyEqVoteErr)
require.Equal(t, context.Canceled, verifyEqVoteErr)
}

0 comments on commit a6f1b9e

Please sign in to comment.