Files
openbilibili/app/interface/main/tv/service/app/region_test.go

17 lines
320 B
Go
Raw Normal View History

2019-04-22 20:46:32 +08:00
package service
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestService_Regions(t *testing.T) {
Convey("test service regions", t, WithService(func(s *Service) {
res, err := s.Regions(context.Background())
So(err, ShouldBeNil)
So(len(res), ShouldBeGreaterThan, 0)
}))
}