mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-06 23:16:53 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user