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