Files
gocryptotrader/config/versions/continuity_test.go
Gareth Kirwan 88ac5274c9 GateIO: Split futures into USDTM and CoinM futures (#1786)
* Config: v5 Split GateIO futures into CoinM and USDT

* GateIO: Split asset.Futures into CoinM and USDT

* Fix CancelBatchOrders using wrong endpoint for CoinMarginedFutures
* Fix TestGetActiveOrders expecting currency.ErrCurrencyPairsEmpty

* Config: Add config version continuity step to CI

* GateIO: Pin CoinM futures to just BTC/USD

Right now we only have a /btc endpoint available, and only BTCUSD is
available.
If GateIO offers more, we'll need to add a settlement currencies list
again
2025-04-30 15:39:39 +10:00

21 lines
520 B
Go

//go:build config_versions
// +build config_versions
// This test is run independently from CI for developer convenience when developing out-of-sequence versions
// Called from a separate github workflow to prevent a PR from being merged without failing the main unit tests
package versions
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestVersionContinuity(t *testing.T) {
t.Parallel()
for ver, v := range Manager.versions {
assert.NotNilf(t, v, "Version %d should not be empty", ver)
}
}