rank_list_test.go 328 B

1234567891011121314151617181920
  1. package dao
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestRankList(t *testing.T) {
  8. Convey("", t, func() {
  9. res, err := testDao.RankList(context.Background(), 185, 3)
  10. So(err, ShouldBeNil)
  11. So(res, ShouldNotBeNil)
  12. t.Log(res)
  13. for _, v := range res.List {
  14. t.Log(v)
  15. }
  16. })
  17. }