zotregistry.dev/zot@v1.4.4-0.20240314164342-eec277e14d20/pkg/exporter/cli/cli_test.go (about) 1 //go:build !metrics 2 // +build !metrics 3 4 package cli_test 5 6 import ( 7 _ "crypto/sha256" 8 "testing" 9 10 . "github.com/smartystreets/goconvey/convey" 11 12 "zotregistry.dev/zot/pkg/exporter/cli" 13 ) 14 15 func TestExporterCli(t *testing.T) { 16 Convey("New", t, func(c C) { 17 cl := cli.NewExporterCmd() 18 So(cl, ShouldNotBeNil) 19 20 So(cl.Execute(), ShouldBeNil) 21 }) 22 }