You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
424 B
28 lines
424 B
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) |
|
}) |
|
} |
|
}
|
|
|