mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 05:58:29 -05:00
18 lines
231 B
Go
18 lines
231 B
Go
|
|
package dao
|
||
|
|
|
||
|
|
import (
|
||
|
|
"context"
|
||
|
|
"testing"
|
||
|
|
|
||
|
|
. "github.com/smartystreets/goconvey/convey"
|
||
|
|
)
|
||
|
|
|
||
|
|
var d *Dao
|
||
|
|
|
||
|
|
func TestPing(t *testing.T) {
|
||
|
|
Convey("TestPing: ", t, func() {
|
||
|
|
err := d.Ping(context.TODO())
|
||
|
|
So(err, ShouldBeNil)
|
||
|
|
})
|
||
|
|
}
|