mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 08:45:19 +00:00
19 lines
442 B
Go
19 lines
442 B
Go
|
package keeper_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||
|
"github.com/stretchr/testify/suite"
|
||
|
|
||
|
"github.com/kava-labs/kava/x/community/keeper"
|
||
|
"github.com/kava-labs/kava/x/community/testutil"
|
||
|
)
|
||
|
|
||
|
func TestKeeperDisableInflation(t *testing.T) {
|
||
|
testFunc := func(ctx sdk.Context, k keeper.Keeper) {
|
||
|
k.CheckAndDisableMintAndKavaDistInflation(ctx)
|
||
|
}
|
||
|
suite.Run(t, testutil.NewDisableInflationTestSuite(testFunc))
|
||
|
}
|