mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-03-14 05:46:26 -05:00
29 lines
424 B
Go
29 lines
424 B
Go
|
|
package tab
|
||
|
|
|
||
|
|
import (
|
||
|
|
. "github.com/smartystreets/goconvey/convey"
|
||
|
|
|
||
|
|
"go-common/app/interface/main/app-feed/conf"
|
||
|
|
|
||
|
|
"testing"
|
||
|
|
)
|
||
|
|
|
||
|
|
func TestNew(t *testing.T) {
|
||
|
|
type args struct {
|
||
|
|
c *conf.Config
|
||
|
|
}
|
||
|
|
tests := []struct {
|
||
|
|
name string
|
||
|
|
args args
|
||
|
|
wantD *Dao
|
||
|
|
}{
|
||
|
|
// TODO: Add test cases.
|
||
|
|
}
|
||
|
|
for _, tt := range tests {
|
||
|
|
Convey(tt.name, t, func() {
|
||
|
|
gotD := New(tt.args.c)
|
||
|
|
So(gotD, ShouldEqual, tt.wantD)
|
||
|
|
})
|
||
|
|
}
|
||
|
|
}
|