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.
 
 
 

19 lines
451 B

package pgc
import (
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDaoGetLabelCache(t *testing.T) {
convey.Convey("GetLabelCache", t, func(cx convey.C) {
cx.Convey("When everything goes positive", func(cx convey.C) {
res, err := d.GetLabelCache(ctx)
cx.Convey("Then err should be nil.res should not be nil.", func(cx convey.C) {
cx.So(err, convey.ShouldBeNil)
cx.So(res, convey.ShouldNotBeNil)
})
})
})
}