1
0
mirror of synced 2026-03-13 23:26:55 +00:00

remove duplicated available options from description

Signed-off-by: h3nryc0ding <hr.richterhenry@gmail.com>
This commit is contained in:
h3nryc0ding
2024-11-13 00:32:21 +00:00
parent 64739b4019
commit 4404634331
15 changed files with 27 additions and 48 deletions

View File

@@ -152,7 +152,7 @@ func TestCreateSourceGitExport(t *testing.T) {
{
name: "source with empty provider",
args: "create source git podinfo --namespace=flux-system --url=https://dev.azure.com/foo/bar/_git/podinfo --provider \"\" --branch=test --interval=1m0s --export",
assert: assertError("invalid argument \"\" for \"--provider\" flag: no source Git provider given, please specify the Git provider name, available options are: (generic|azure)"),
assert: assertError("invalid argument \"\" for \"--provider\" flag: no source Git provider given, must be one of: generic|azure"),
},
{
name: "source with no provider",