redis_test.go 263 B

123456789101112131415
  1. package dao
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestDao_ZAddPush(t *testing.T) {
  8. Convey("TestDao_ZAddPush", t, WithDao(func(d *Dao) {
  9. err := d.ZAddPush(context.Background(), 381)
  10. So(err, ShouldBeNil)
  11. }))
  12. }