mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
ce4924f841
Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
22 lines
348 B
Go
22 lines
348 B
Go
//go:build !metrics
|
|
// +build !metrics
|
|
|
|
package cli_test
|
|
|
|
import (
|
|
_ "crypto/sha256"
|
|
"testing"
|
|
|
|
. "github.com/smartystreets/goconvey/convey"
|
|
|
|
"zotregistry.dev/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)
|
|
})
|
|
}
|