Files
mostlymatter/vendor/github.com/icrowley/fake/personal_test.go
Jesús Espino 6990d052d5 [XYZ-6] Add sampledata platform command (#8027)
* Add fake dependency

* [XYZ-6] Add sampledata platform command

* Creating EMOJI_NAME_MAX_LENGTH as a constant and using it where needed
2018-01-11 10:57:47 -05:00

27 строки
393 B
Go

package fake
import (
"testing"
)
func TestPersonal(t *testing.T) {
for _, lang := range GetLangs() {
SetLang(lang)
v := Gender()
if v == "" {
t.Errorf("Gender failed with lang %s", lang)
}
v = GenderAbbrev()
if v == "" {
t.Errorf("GenderAbbrev failed with lang %s", lang)
}
v = Language()
if v == "" {
t.Errorf("Language failed with lang %s", lang)
}
}
}