0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-23 22:27:35 -05:00
zot/pkg/exporter/cli/cli_test.go

23 lines
347 B
Go
Raw Normal View History

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