CI: Bump go version, linters and fix minor issues (#1130)

* CI: Bump go version, linters and fix minor issues

* Bump version, fix loop variables

* Revert

* Rid TODOs now that 1.51 has been released
This commit is contained in:
Adrian Gallagher
2023-02-03 15:56:59 +11:00
committed by GitHub
parent b384991183
commit 7e08e483fb
39 changed files with 71 additions and 71 deletions

View File

@@ -89,6 +89,7 @@ func TestCanTransact(t *testing.T) {
expected: false,
},
} {
ti := ti
t.Run(ti.side.String(), func(t *testing.T) {
t.Parallel()
if CanTransact(ti.side) != ti.expected {
@@ -123,6 +124,7 @@ func TestDataTypeConversion(t *testing.T) {
expectErr: true,
},
} {
ti := ti
t.Run(ti.title, func(t *testing.T) {
t.Parallel()
got, err := DataTypeToInt(ti.dataType)