Skip to content

Commit 85d03e6

Browse files
committed
fix(vesting): format and lint
1 parent 54ac0b8 commit 85d03e6

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

x/vesting/client/cli/tx_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ import (
77
"testing"
88
"time"
99

10-
rpcclientmock "github.com/cometbft/cometbft/rpc/client/mock"
1110
"github.com/stretchr/testify/suite"
1211

12+
rpcclientmock "github.com/cometbft/cometbft/rpc/client/mock"
13+
1314
sdkmath "cosmossdk.io/math"
1415

1516
"github.com/cosmos/cosmos-sdk/client"
@@ -124,7 +125,6 @@ func (s *CLITestSuite) TestNewMsgCreateVestingAccountCmd() {
124125
ctx := svrcmd.CreateExecuteContext(context.Background())
125126

126127
cmd.SetContext(ctx)
127-
fmt.Println(tc.amount.String())
128128
cmd.SetArgs(append([]string{tc.to.String(), tc.amount.String(), fmt.Sprint(tc.endTime)}, tc.extraArgs...))
129129

130130
s.Require().NoError(client.SetCmdClientContextHandler(tc.ctxGen(), cmd))

x/vesting/msg_server_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
package vesting_test
22

33
import (
4-
"cosmossdk.io/math"
5-
cmtproto "github.com/cometbft/cometbft/proto/tendermint/types"
6-
cmttime "github.com/cometbft/cometbft/types/time"
74
"testing"
85
"time"
96

107
"github.com/golang/mock/gomock"
118
"github.com/stretchr/testify/suite"
129

10+
cmtproto "github.com/cometbft/cometbft/proto/tendermint/types"
11+
cmttime "github.com/cometbft/cometbft/types/time"
12+
13+
"cosmossdk.io/math"
1314
storetypes "cosmossdk.io/store/types"
1415

1516
"github.com/cosmos/cosmos-sdk/runtime"

0 commit comments

Comments
 (0)