reason_test.go 406 B

123456789101112131415161718192021
  1. package manager
  2. import (
  3. "context"
  4. "testing"
  5. "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestManagerArcReason(t *testing.T) {
  8. var (
  9. c = context.TODO()
  10. aid = int64(2333)
  11. )
  12. convey.Convey("ArcReason", t, func(ctx convey.C) {
  13. _, err := d.ArcReason(c, aid)
  14. ctx.Convey("Then err should be nil.tagID should not be nil.", func(ctx convey.C) {
  15. ctx.So(err, convey.ShouldBeNil)
  16. })
  17. })
  18. }