wire printflags through additional cmds
This commit is contained in:
@@ -144,7 +144,7 @@ func TestPatchNoop(t *testing.T) {
|
||||
cmd.Flags().Set("namespace", "test")
|
||||
cmd.Flags().Set("patch", `{"metadata":{"annotations":{"foo":"bar"}}}`)
|
||||
cmd.Run(cmd, []string{"services", "frontend"})
|
||||
if buf.String() != "service \"baz\" patched\n" {
|
||||
if buf.String() != "service/baz patched\n" {
|
||||
t.Errorf("unexpected output: %s", buf.String())
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user