Skip to content

Commit

Permalink
GateIO: Fix TestGetSettlementFromCurrency race
Browse files Browse the repository at this point in the history
  • Loading branch information
thrasher- committed Nov 6, 2024
1 parent 2683812 commit 839ffed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exchanges/gateio/gateio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3006,6 +3006,8 @@ func TestUnlockSubAccount(t *testing.T) {

func TestGetSettlementFromCurrency(t *testing.T) {
t.Parallel()
g := new(Gateio) //nolint:govet // Intentional shadow to avoid future copy/paste mistakes
require.NoError(t, testexch.Setup(g), "Setup must not error")
for _, assetType := range []asset.Item{asset.Futures, asset.DeliveryFutures, asset.Options} {
availPairs, err := g.GetAvailablePairs(assetType)
require.NoErrorf(t, err, "GetAvailablePairs for asset %s must not error", assetType)
Expand Down

0 comments on commit 839ffed

Please sign in to comment.