redis_test.go 419 B

12345678910111213141516171819202122
  1. package pendant
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func Test_DelPKGCache(t *testing.T) {
  8. Convey("should return err be nil", t, func() {
  9. err := d.DelPKGCache(context.TODO(), 11)
  10. So(err, ShouldBeNil)
  11. })
  12. }
  13. func Test_DelEquipCache(t *testing.T) {
  14. Convey("should return err be nil", t, func() {
  15. err := d.DelEquipCache(context.TODO(), 11)
  16. So(err, ShouldBeNil)
  17. })
  18. }