Skip to content

Commit

Permalink
fix tests and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Oct 20, 2023
1 parent 4824628 commit 071b0df
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/integration/tx/aminojson/aminojson_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func TestAminoJSON_Equivalence(t *testing.T) {
encCfg := testutil.MakeTestEncodingConfig(
auth.AppModuleBasic{}, authzmodule.AppModuleBasic{}, bank.AppModuleBasic{}, consensus.AppModuleBasic{},
distribution.AppModuleBasic{}, evidence.AppModuleBasic{}, feegrantmodule.AppModuleBasic{},
gov.AppModuleBasic{}, groupmodule.AppModuleBasic{}, mint.AppModuleBasic{}, params.AppModuleBasic{},
gov.AppModuleBasic{}, groupmodule.AppModuleBasic{}, mint.AppModuleBasic{},
slashing.AppModuleBasic{}, staking.AppModuleBasic{}, upgrade.AppModuleBasic{}, vesting.AppModuleBasic{})
legacytx.RegressionTestingAminoCodec = encCfg.Amino
aj := aminojson.NewEncoder(aminojson.EncoderOptions{DoNotSortFields: true})
Expand Down
3 changes: 2 additions & 1 deletion x/group/proposal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package group_test
import (
"testing"

"github.com/stretchr/testify/require"

"cosmossdk.io/x/group"
"cosmossdk.io/x/group/module"
"github.com/stretchr/testify/require"

moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
)
Expand Down
3 changes: 2 additions & 1 deletion x/group/simulation/decoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ import (
"fmt"
"testing"

"github.com/stretchr/testify/require"

"cosmossdk.io/x/group"
"cosmossdk.io/x/group/internal/orm"
"cosmossdk.io/x/group/keeper"
"cosmossdk.io/x/group/module"
"cosmossdk.io/x/group/simulation"
"github.com/stretchr/testify/require"

"github.com/cosmos/cosmos-sdk/testutil/testdata"
"github.com/cosmos/cosmos-sdk/types/kv"
Expand Down

0 comments on commit 071b0df

Please sign in to comment.