Files
zot/pkg/exporter/cli/cli_test.go
T
Ramkumar Chinchani 1b618f305e test(exporter): add unit test to cover cli pkg (#1148)
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2023-01-27 20:35:32 -08:00

23 lines
347 B
Go

//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)
})
}