up_test.go 377 B

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