Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Julien Robert
parent
e9aece088d
commit
2ad5ab913d
@@ -109,7 +109,6 @@ func (s *CLITestSuite) TestGenTxCmd() {
|
||||
}
|
||||
|
||||
for _, tc := range tests {
|
||||
tc := tc
|
||||
|
||||
dir := s.T().TempDir()
|
||||
genTxFile := filepath.Join(dir, "myTx")
|
||||
|
||||
@@ -50,7 +50,6 @@ func TestMigrateGenesis(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
genesisFile := testutil.WriteToNewTempFile(t, tc.genesis)
|
||||
jsonOutput, err := clitestutil.ExecTestCLICmd(
|
||||
|
||||
@@ -85,8 +85,6 @@ func TestValidateGenesis(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
tc := tc
|
||||
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
genesisFile := testutil.WriteToNewTempFile(t, tc.genesis)
|
||||
_, err := clitestutil.ExecTestCLICmd(client.Context{}, cli.ValidateGenesisCmd(tc.genMM), []string{genesisFile.Name()})
|
||||
|
||||
Reference in New Issue
Block a user