File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ func TestGetQueryCmd(t *testing.T) {
6060 true ,
6161 },
6262 "all evidence (default pagination)" : {
63- []string {},
63+ []string {
64+ fmt .Sprintf ("--%s=text" , flags .FlagOutput ),
65+ },
6466 func () client.Context {
6567 bz , _ := encCfg .Codec .Marshal (& sdk.TxResponse {})
6668 c := clitestutil .NewMockTendermintRPC (abci.ResponseQuery {
Original file line number Diff line number Diff line change @@ -112,13 +112,12 @@ func (suite *KeeperTestSuite) TestDeleteProposalInVotingPeriod() {
112112}
113113
114114func (suite * KeeperTestSuite ) TestActivateVotingPeriod () {
115- testCases := map [string ]struct {
115+ testCases := []struct {
116+ name string
116117 expedited bool
117118 }{
118- "regular proposal" : {},
119- "expedited proposal" : {
120- expedited : true ,
121- },
119+ {name : "regular proposal" , expedited : false },
120+ {name : "expedited proposal" , expedited : true },
122121 }
123122
124123 for _ , tc := range testCases {
You can’t perform that action at this time.
0 commit comments