Fix cobra test now cmctl is the default CLI name

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
This commit is contained in:
joshvanl
2021-10-14 16:36:50 +01:00
parent 64feb85490
commit b45482355c
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -130,7 +130,6 @@ release_filegroup(
]),
)
filegroup(
name = "test-targets",
srcs = select(for_platforms(
+1 -1
View File
@@ -48,7 +48,7 @@ func TestRun(t *testing.T) {
},
"if directory given, should write docs": {
input: []string{"cobra", filepath.Join(rootDir, "foo")},
expDirs: []string{"foo/ca-injector", "foo/cert-manager-controller", "foo/kubectl cert-manager"},
expDirs: []string{"foo/ca-injector", "foo/cert-manager-controller", "foo/cmctl"},
},
}