From 737465adad15bc4dc7d0dc41894edc0597bb2285 Mon Sep 17 00:00:00 2001 From: Thomas Bruyelle Date: Sun, 25 Feb 2024 14:29:02 +0100 Subject: [PATCH] chore(gov): fix typo in test methods --- x/gov/keeper/tally_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/x/gov/keeper/tally_test.go b/x/gov/keeper/tally_test.go index b5061fd..28dbcdb 100644 --- a/x/gov/keeper/tally_test.go +++ b/x/gov/keeper/tally_test.go @@ -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{}) @@ -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{}) @@ -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{}) @@ -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{})