gofmt update

Kubernetes-commit: d84abe868d673de917b5714cd2460f21413ac745
This commit is contained in:
Sean Sullivan 2022-07-24 23:46:44 -07:00 committed by Kubernetes Publisher
parent acec06e5c9
commit e23896b42c
1 changed files with 6 additions and 6 deletions

View File

@ -112,41 +112,41 @@ func TestApplyFlagValidation(t *testing.T) {
expectedErr string
}{
{
args: [][]string {
args: [][]string{
{"force-conflicts", "true"},
},
expectedErr: "--force-conflicts only works with --server-side",
},
{
args: [][]string {
args: [][]string{
{"server-side", "true"},
{"dry-run", "client"},
},
expectedErr: "--dry-run=client doesn't work with --server-side (did you mean --dry-run=server instead?)",
},
{
args: [][]string {
args: [][]string{
{"force", "true"},
{"server-side", "true"},
},
expectedErr: "--force cannot be used with --server-side",
},
{
args: [][]string {
args: [][]string{
{"force", "true"},
{"dry-run", "server"},
},
expectedErr: "--dry-run=server cannot be used with --force",
},
{
args: [][]string {
args: [][]string{
{"all", "true"},
{"selector", "unused"},
},
expectedErr: "cannot set --all and --selector at the same time",
},
{
args: [][]string {
args: [][]string{
{"force", "true"},
{"prune", "true"},
{"all", "true"},