Skip to content

Commit

Permalink
chore(gov): fix typo in test methods (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbruyelle authored Feb 25, 2024
1 parent 42bf9d4 commit 7837875
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x/gov/keeper/tally_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func TestTallyOnlyValidatorsNonVoter(t *testing.T) {
require.False(t, tallyResults.Equals(types.EmptyTallyResult()))
}

func TestTallyDelgatorOverride(t *testing.T) {
func TestTallyDelegatorOverride(t *testing.T) {
app := govgenhelpers.SetupNoValset(false)
ctx := app.BaseApp.NewContext(false, tmproto.Header{})

Expand Down Expand Up @@ -277,7 +277,7 @@ func TestTallyDelgatorOverride(t *testing.T) {

// As validators can only vote with their own stake, delegators don't inherit votes from validators
// so the proposal fails
func TestTallyDelgatorInherit(t *testing.T) {
func TestTallyDelegatorInherit(t *testing.T) {
app := govgenhelpers.SetupNoValset(false)
ctx := app.BaseApp.NewContext(false, tmproto.Header{})

Expand Down Expand Up @@ -323,7 +323,7 @@ func TestTallyDelgatorInherit(t *testing.T) {
).String())
}

func TestTallyDelgatorMultipleOverride(t *testing.T) {
func TestTallyDelegatorMultipleOverride(t *testing.T) {
app := govgenhelpers.SetupNoValset(false)
ctx := app.BaseApp.NewContext(false, tmproto.Header{})

Expand Down Expand Up @@ -376,7 +376,7 @@ func TestTallyDelgatorMultipleOverride(t *testing.T) {

// As validators can only vote with their own stake, delegators don't inherit votes from validators
// so the proposal passes
func TestTallyDelgatorMultipleInherit(t *testing.T) {
func TestTallyDelegatorMultipleInherit(t *testing.T) {
app := govgenhelpers.SetupNoValset(false)
ctx := app.BaseApp.NewContext(false, tmproto.Header{})

Expand Down

0 comments on commit 7837875

Please sign in to comment.