Files
gocryptotrader/config/versions/continuity_test.go
findfluctuate a2d90c0ab9 chore: drop legacy build tags (#2125)
Signed-off-by: findfluctuate <findfluctuate@outlook.com>
2025-12-15 12:40:41 +11:00

20 lines
494 B
Go

//go: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)
}
}