change assert by require
This commit is contained in:
parent
e0b5413861
commit
643b109826
|
@ -3,13 +3,13 @@ package mint_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/x/mint"
|
||||
"github.com/cosmos/cosmos-sdk/x/supply"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/tendermint/tendermint/abci/types"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/simapp"
|
||||
"github.com/cosmos/cosmos-sdk/x/mint"
|
||||
"github.com/cosmos/cosmos-sdk/x/supply"
|
||||
)
|
||||
|
||||
func TestItCreatesModuleAccountOnInitBlock(t *testing.T) {
|
||||
|
@ -24,6 +24,5 @@ func TestItCreatesModuleAccountOnInitBlock(t *testing.T) {
|
|||
)
|
||||
|
||||
acc := app.AccountKeeper.GetAccount(ctx, supply.NewModuleAddress(mint.ModuleName))
|
||||
|
||||
assert.NotNil(t, acc)
|
||||
require.NotNil(t, acc)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue