mirror of
https://github.com/fumiama/tienyik.git
synced 2026-06-04 23:10:26 +08:00
15 lines
203 B
Go
15 lines
203 B
Go
package cdserv
|
|
|
|
import "testing"
|
|
|
|
func TestGetServData(t *testing.T) {
|
|
r, err := GetServData()
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
t.Log(r)
|
|
if len(r.GlobalSwitches.BodyMsgEType) == 0 {
|
|
t.Fail()
|
|
}
|
|
}
|