http_test.go 284 B

1234567891011121314151617
  1. package dao
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestDoubleCheck(t *testing.T) {
  8. Convey("TestDoubleCheck", t, func() {
  9. err := d.DoubleCheck(context.TODO(), 1)
  10. if err != nil {
  11. t.Errorf("test DoubleCheck err %v", err)
  12. }
  13. })
  14. }