all_test.go 292 B

123456789101112131415161718192021
  1. package service
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func Test_Stat(t *testing.T) {
  8. var (
  9. err error
  10. c = context.TODO()
  11. )
  12. Convey("Stat", t, WithService(func(s *Service) {
  13. _, err = s.Stat(c, "music_songs")
  14. So(err, ShouldBeNil)
  15. }))
  16. }