Explorar o código

cmd/geth: fixed parallelization flaw in account import test (#22002)

Marius van der Wijden %!s(int64=4) %!d(string=hai) anos
pai
achega
4859929798
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      cmd/geth/accountcmd_test.go

+ 1 - 0
cmd/geth/accountcmd_test.go

@@ -102,6 +102,7 @@ func TestAccountImport(t *testing.T) {
 		},
 	}
 	for _, test := range tests {
+		test := test
 		t.Run(test.name, func(t *testing.T) {
 			t.Parallel()
 			importAccountWithExpect(t, test.key, test.output)