Files
go-common/app/interface/main/app-feed/dao/card/dao_test.go
2019-04-22 18:49:16 +08:00

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)
})
}
}