Files
sub2api/backend/internal/model/error_passthrough_rule_test.go
T

26 lines
377 B
Go
Raw Normal View History

2026-08-20 10:00:09 +08:00
package model
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestAllPlatformsIncludesEveryConcretePlatform(t *testing.T) {
require.ElementsMatch(t, []string{
"anthropic",
"openai",
"gemini",
"antigravity",
"grok",
"kimi",
"zhipu",
"deepseek",
2026-09-07 18:22:56 +08:00
"minimax",
"opencode_go",
"typesafe",
2026-10-03 12:51:00 +08:00
"command_code",
2026-10-03 12:52:02 +08:00
"cline",
2026-08-20 10:00:09 +08:00
}, AllPlatforms())
}