Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(gov): fix typo in test methods #25

Merged
merged 1 commit into from
Feb 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading