From 0090d2f6b5c22505939ad79fb39e2153bbfbb949 Mon Sep 17 00:00:00 2001 From: Unique-Divine Date: Wed, 27 Dec 2023 23:17:30 -0600 Subject: [PATCH] linter --- x/perp/v2/keeper/admin_test.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/x/perp/v2/keeper/admin_test.go b/x/perp/v2/keeper/admin_test.go index 1209cce93..903b2254a 100644 --- a/x/perp/v2/keeper/admin_test.go +++ b/x/perp/v2/keeper/admin_test.go @@ -29,7 +29,6 @@ import ( ) func (s *TestSuiteAdmin) TestAdmin_WithdrawFromPerpFund() { - fundModule := func(amount sdkmath.Int, ctx sdk.Context, nibiru *app.NibiruApp) { coins := sdk.NewCoins(sdk.NewCoin(perptypes.TestingCollateralDenomNUSD, amount)) err := testapp.FundModuleAccount( @@ -471,7 +470,11 @@ func (s *TestSuiteAdmin) DoShiftSwapInvariantTest(pair asset.Pair) error { func (s *TestSuiteAdmin) DoWithdrawFromPerpFundTest(toAddr string) error { wantCoin := sdk.NewInt64Coin("perpfundtest", 25) - testapp.FundModuleAccount(s.nibiru.BankKeeper, s.ctx, types.PerpFundModuleAccount, sdk.NewCoins(wantCoin)) + s.NoError( + testapp.FundModuleAccount( + s.nibiru.BankKeeper, s.ctx, types.PerpFundModuleAccount, + sdk.NewCoins(wantCoin)), + ) _, err := s.perpMsgServer.WithdrawFromPerpFund( sdk.WrapSDKContext(s.ctx), &perptypes.MsgWithdrawFromPerpFund{ Sender: s.addrAdmin.String(),