@@ -0,0 +1,16 @@
|
||||
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")
|
||||
}
|
||||
Reference in New Issue
Block a user