go-common/app/job/main/usersuit/dao/pendant/redis_test.go

23 lines
419 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package pendant
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func Test_DelPKGCache(t *testing.T) {
Convey("should return err be nil", t, func() {
err := d.DelPKGCache(context.TODO(), 11)
So(err, ShouldBeNil)
})
}
func Test_DelEquipCache(t *testing.T) {
Convey("should return err be nil", t, func() {
err := d.DelEquipCache(context.TODO(), 11)
So(err, ShouldBeNil)
})
}