Files
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

17 lines
402 B
Go

package sysconfmod
import "testing"
func TestShortDramaCardConfigIsInitializedAsSelect(t *testing.T) {
for _, item := range initData {
if item.VCode != string(VCodeShortDramaCardID) {
continue
}
if item.Type != CfgTypeSelect {
t.Fatalf("short drama card config type = %q, want %q", item.Type, CfgTypeSelect)
}
return
}
t.Fatal("short drama card config is missing from initData")
}