Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
stackman27 committed Jul 4, 2022
1 parent be7dd7a commit aa85549
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion osmoutils/binary_search_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ func TestBinarySearch(t *testing.T) {
require.Error(t, err)
} else {
require.NoError(t, err)
require.True(sdk.IntEq(t, tc.expectedSolvedInput, actualSolvedInput))
}
require.True(sdk.IntEq(t, tc.expectedSolvedInput, actualSolvedInput))
}
}

Expand Down
1 change: 0 additions & 1 deletion osmoutils/cli_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,4 @@ func ConditionalPanic(t *testing.T, expectPanic bool, sut func()) bool {

require.NotPanics(t, sut)
return false

}
1 change: 0 additions & 1 deletion x/epochs/client/cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ func (s *IntegrationTestSuite) TestGetCmdCurrentEpoch() {
}

out, err := clitestutil.ExecTestCLICmd(clientCtx, cmd, args)

if tc.expectErr {
s.Require().Error(err)
} else {
Expand Down
10 changes: 0 additions & 10 deletions x/mint/keeper/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,6 @@ func (suite *KeeperTestSuite) TestMintInitGenesis() {
originalVestingCoins := bankKeeper.GetBalance(ctx, developerAccount, tc.mintDenom)

// Test.
// if tc.expectPanic {
// suite.Panics(func() {
// mintKeeper.InitGenesis(ctx, tc.mintGenesis)
// })
// return
// }

// suite.NotPanics(func() {
// mintKeeper.InitGenesis(ctx, tc.mintGenesis)
// })

if osmoutils.ConditionalPanic(suite.T(), tc.expectPanic || false, func() { mintKeeper.InitGenesis(ctx, tc.mintGenesis) }) {
return
Expand Down

0 comments on commit aa85549

Please sign in to comment.