mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-09-02 15:48:07 -05:00
17 lines
283 B
Go
17 lines
283 B
Go
package dao
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
. "github.com/smartystreets/goconvey/convey"
|
|
)
|
|
|
|
func TestCidInfo(t *testing.T) {
|
|
Convey("test cid info", t, func() {
|
|
cidInfo, err := testDao.CidInfo(context.TODO(), 10109082)
|
|
So(err, ShouldBeNil)
|
|
So(cidInfo, ShouldNotBeNil)
|
|
})
|
|
}
|