You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
367 B
17 lines
367 B
package dao |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
"github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func TestDao_BangumiList(t *testing.T) { |
|
convey.Convey("test bangumi list", t, func(ctx convey.C) { |
|
data, count, err := d.BangumiList(context.Background(), 908085, 1, 10) |
|
convey.So(err, convey.ShouldBeNil) |
|
convey.Printf("%+v", data) |
|
convey.Printf("%d", count) |
|
}) |
|
}
|
|
|