blob: 6ac3e3567715f8cf52107440f491a73c5b73dcbe (
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 TestJobs(t *testing.T) {
for _, lang := range GetLangs() {
SetLang(lang)
v := Company()
if v == "" {
t.Errorf("Company failed with lang %s", lang)
}
v = JobTitle()
if v == "" {
t.Errorf("JobTitle failed with lang %s", lang)
}
v = Industry()
if v == "" {
t.Errorf("Industry failed with lang %s", lang)
}
}
}
|