ip_test.go 299 B

12345678910111213141516
  1. package service
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestService_IPZone(t *testing.T) {
  8. Convey("test ip IPZone", t, WithService(func(s *Service) {
  9. res, err := s.IPZone(context.Background())
  10. So(err, ShouldBeNil)
  11. So(res, ShouldNotBeNil)
  12. }))
  13. }