diff --git a/x/evidence/client/cli/query_test.go b/x/evidence/client/cli/query_test.go index db9d9b4cc9ff..e93b9001c517 100644 --- a/x/evidence/client/cli/query_test.go +++ b/x/evidence/client/cli/query_test.go @@ -60,7 +60,9 @@ func TestGetQueryCmd(t *testing.T) { true, }, "all evidence (default pagination)": { - []string{}, + []string{ + fmt.Sprintf("--%s=text", flags.FlagOutput), + }, func() client.Context { bz, _ := encCfg.Codec.Marshal(&sdk.TxResponse{}) c := clitestutil.NewMockTendermintRPC(abci.ResponseQuery{ diff --git a/x/gov/keeper/proposal_test.go b/x/gov/keeper/proposal_test.go index 1745900e6a62..2e165b330c35 100644 --- a/x/gov/keeper/proposal_test.go +++ b/x/gov/keeper/proposal_test.go @@ -112,13 +112,12 @@ func (suite *KeeperTestSuite) TestDeleteProposalInVotingPeriod() { } func (suite *KeeperTestSuite) TestActivateVotingPeriod() { - testCases := map[string]struct { + testCases := []struct { + name string expedited bool }{ - "regular proposal": {}, - "expedited proposal": { - expedited: true, - }, + {name: "regular proposal", expedited: false}, + {name: "expedited proposal", expedited: true}, } for _, tc := range testCases {