mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-07 21:48:31 -05:00
18 lines
290 B
Go
18 lines
290 B
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
. "github.com/smartystreets/goconvey/convey"
|
|
)
|
|
|
|
func TestSubject(t *testing.T) {
|
|
Convey("", t, func() {
|
|
sub, err := svr.subject(context.TODO(), 1, 1221)
|
|
So(err, ShouldBeNil)
|
|
So(sub, ShouldNotBeNil)
|
|
t.Logf("subject:%+v", sub)
|
|
})
|
|
}
|