mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 14:08:30 -05:00
22 lines
309 B
Go
22 lines
309 B
Go
|
|
package service
|
||
|
|
|
||
|
|
import (
|
||
|
|
"context"
|
||
|
|
"testing"
|
||
|
|
|
||
|
|
. "github.com/smartystreets/goconvey/convey"
|
||
|
|
)
|
||
|
|
|
||
|
|
func TestService(t *testing.T) {
|
||
|
|
Convey("service", t, func() {
|
||
|
|
t.Log("service test")
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
func TestPing(t *testing.T) {
|
||
|
|
Convey("ping", t, func() {
|
||
|
|
var s = &Service{}
|
||
|
|
s.Ping(context.Background())
|
||
|
|
})
|
||
|
|
}
|