mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
* 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
21 lines
520 B
Go
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)
|
|
}
|
|
}
|