task_test.go 470 B

123456789101112131415161718192021222324
  1. package archive
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func Test_TaskByUntreated(t *testing.T) {
  8. Convey("TaskByUntreated", t, func() {
  9. configs, err := d.TaskByUntreated(context.TODO())
  10. So(err, ShouldBeNil)
  11. Println(configs)
  12. })
  13. }
  14. func Test_TaskTookByHalfHour(t *testing.T) {
  15. Convey("TaskTookByHalfHour", t, func() {
  16. configs, err := d.TaskTookByHalfHour(context.TODO())
  17. So(err, ShouldBeNil)
  18. Println(configs)
  19. })
  20. }