(t *testing.T)
| 22 | } |
| 23 | |
| 24 | func TestNewDeployCommand_RequiresWorkflowArg(t *testing.T) { |
| 25 | cmd := NewDeployCommand(func(string) error { return nil }) |
| 26 | require.NotNil(t, cmd) |
| 27 | |
| 28 | err := cmd.Args(cmd, []string{}) |
| 29 | require.Error(t, err) |
| 30 | assert.Contains(t, err.Error(), "missing workflow specification") |
| 31 | } |
| 32 | |
| 33 | func TestNewDeployCommand_RegistersCoreFlags(t *testing.T) { |
| 34 | cmd := NewDeployCommand(func(string) error { return nil }) |
nothing calls this directly
no test coverage detected