follower_test.go 352 B

12345678910111213141516171819
  1. package dao
  2. import (
  3. "testing"
  4. "github.com/smartystreets/goconvey/convey"
  5. )
  6. func TestDaoDelFollowerCache(t *testing.T) {
  7. var (
  8. fid = int64(0)
  9. )
  10. convey.Convey("DelFollowerCache", t, func(ctx convey.C) {
  11. err := d.DelFollowerCache(fid)
  12. ctx.Convey("Then err should be nil.", func(ctx convey.C) {
  13. ctx.So(err, convey.ShouldBeNil)
  14. })
  15. })
  16. }