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