zotregistry.io/zot@v1.4.4-0.20231124084042-02a8ed785457/pkg/common/oci_test.go (about) 1 package common_test 2 3 import ( 4 "testing" 5 6 . "github.com/smartystreets/goconvey/convey" 7 8 "zotregistry.io/zot/pkg/common" 9 ) 10 11 func TestOCI(t *testing.T) { 12 Convey("Test image dir and digest", t, func() { 13 repo, digest := common.GetImageDirAndDigest("image") 14 So(repo, ShouldResemble, "image") 15 So(digest, ShouldResemble, "") 16 }) 17 }