blob: 6e7edf7a0b68a8d823c1a4d414374199171ca571 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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)
}
}
}
|