(t *testing.T)
| 62 | } |
| 63 | |
| 64 | func TestRunServicesWithEmptyName(t *testing.T) { |
| 65 | cmd := newServicesCommand(test.NewFakeCli(&fakeClient{})) |
| 66 | cmd.SetArgs([]string{"' '"}) |
| 67 | cmd.SetOut(io.Discard) |
| 68 | cmd.SetErr(io.Discard) |
| 69 | |
| 70 | assert.ErrorContains(t, cmd.Execute(), `invalid stack name: "' '"`) |
| 71 | } |
| 72 | |
| 73 | func TestStackServicesEmptyServiceList(t *testing.T) { |
| 74 | fakeCli := test.NewFakeCli(&fakeClient{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…