mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 14:08:30 -05:00
17 lines
298 B
Go
17 lines
298 B
Go
|
|
package service
|
||
|
|
|
||
|
|
import (
|
||
|
|
"context"
|
||
|
|
"testing"
|
||
|
|
|
||
|
|
. "github.com/smartystreets/goconvey/convey"
|
||
|
|
)
|
||
|
|
|
||
|
|
func TestAdvances(t *testing.T) {
|
||
|
|
Convey("test adv", t, func() {
|
||
|
|
res, _, err := svr.Advances(context.TODO(), 27515260, "all", "all", 1, 20)
|
||
|
|
So(err, ShouldBeNil)
|
||
|
|
So(res, ShouldNotBeEmpty)
|
||
|
|
})
|
||
|
|
}
|