diff --git a/pkg/exporter/cli/cli_test.go b/pkg/exporter/cli/cli_test.go new file mode 100644 index 00000000..cc64ac40 --- /dev/null +++ b/pkg/exporter/cli/cli_test.go @@ -0,0 +1,22 @@ +//go:build !metrics +// +build !metrics + +package cli_test + +import ( + _ "crypto/sha256" + "testing" + + . "github.com/smartystreets/goconvey/convey" + + "zotregistry.io/zot/pkg/exporter/cli" +) + +func TestExporterCli(t *testing.T) { + Convey("New", t, func(c C) { + cl := cli.NewExporterCmd() + So(cl, ShouldNotBeNil) + + So(cl.Execute(), ShouldBeNil) + }) +}