addit_test.go 281 B

123456789101112131415161718
  1. package archive
  2. import (
  3. "context"
  4. . "github.com/smartystreets/goconvey/convey"
  5. "testing"
  6. )
  7. func Test_Addit(t *testing.T) {
  8. var (
  9. c = context.TODO()
  10. err error
  11. )
  12. Convey("Test_Addit", t, WithDao(func(d *Dao) {
  13. _, err = d.Addit(c, 23333)
  14. So(err, ShouldBeNil)
  15. }))
  16. }