You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package model
|
|
|
|
import "testing"
|
|
|
|
func TestRandomHeroMeetAutoPhraseKeyNonEmpty(t *testing.T) {
|
|
for i := 0; i < 10; i++ {
|
|
k := RandomHeroMeetAutoPhraseKey()
|
|
if k == "" || len(k) < len("hero_meet.auto.") {
|
|
t.Fatalf("unexpected key %q", k)
|
|
}
|
|
}
|
|
}
|