subject_test.go 290 B

1234567891011121314151617
  1. package service
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestSubject(t *testing.T) {
  8. Convey("", t, func() {
  9. sub, err := svr.subject(context.TODO(), 1, 1221)
  10. So(err, ShouldBeNil)
  11. So(sub, ShouldNotBeNil)
  12. t.Logf("subject:%+v", sub)
  13. })
  14. }