manager_test.go 367 B

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