(t *testing.T, args ...string)
| 112 | } |
| 113 | |
| 114 | func runInit(t *testing.T, args ...string) (string, error) { |
| 115 | t.Helper() |
| 116 | dirs.RemoveAllForTest() |
| 117 | _ = os.RemoveAll(filepath.Join(dirs.WorkspaceDir, "conf")) |
| 118 | |
| 119 | cmd := &initCmd{} |
| 120 | return runCommand(t, cmd.Command(configs.NewCeler()), args...) |
| 121 | } |
| 122 | |
| 123 | func TestInitCmd_Command(t *testing.T) { |
| 124 | tests := []struct { |
no test coverage detected