Skip to content

Commit 326af3e

Browse files
authored
1 parent d0fe679 commit 326af3e

11 files changed

Lines changed: 1 addition & 303 deletions

File tree

cmd/labs/project/project.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,6 @@ func (p *Project) IsDeveloperMode() bool {
132132
return p.folder != "" && !strings.HasPrefix(p.LibDir(), p.folder)
133133
}
134134

135-
func (p *Project) HasFolder() bool {
136-
return p.folder != ""
137-
}
138-
139135
func (p *Project) HasAccountLevelCommands() bool {
140136
for _, v := range p.Commands {
141137
if v.IsAccountLevel {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ require (
3232
golang.org/x/mod v0.25.0
3333
golang.org/x/oauth2 v0.30.0
3434
golang.org/x/sync v0.15.0
35-
golang.org/x/sys v0.33.0
35+
golang.org/x/sys v0.33.0 // indirect
3636
golang.org/x/term v0.32.0
3737
golang.org/x/text v0.26.0
3838
gopkg.in/ini.v1 v1.67.0 // Apache 2.0

internal/testcli/runner.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,6 @@ func (r *Runner) WaitForTextPrinted(text string, timeout time.Duration) {
7575
}, timeout, 50*time.Millisecond)
7676
}
7777

78-
func (r *Runner) WaitForOutput(text string, timeout time.Duration) {
79-
require.Eventually(r, func() bool {
80-
currentStdout := r.stdout.String()
81-
currentErrout := r.stderr.String()
82-
return strings.Contains(currentStdout, text) || strings.Contains(currentErrout, text)
83-
}, timeout, 50*time.Millisecond)
84-
}
85-
8678
func (r *Runner) WithStdin() {
8779
reader, writer := io.Pipe()
8880
r.stdinR = reader

internal/testutil/helpers.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ package testutil
33
import (
44
"os"
55
"strings"
6-
"time"
76

87
"github.com/google/uuid"
9-
"github.com/stretchr/testify/require"
108
)
119

1210
// GetEnvOrSkipTest proceeds with test only with that env variable.
@@ -28,15 +26,6 @@ func RandomName(prefix ...string) string {
2826
return out
2927
}
3028

31-
func SkipUntil(t TestingT, date string) {
32-
deadline, err := time.Parse(time.DateOnly, date)
33-
require.NoError(t, err)
34-
35-
if time.Now().Before(deadline) {
36-
t.Skipf("Skipping test until %s. Time right now: %s", deadline.Format(time.DateOnly), time.Now())
37-
}
38-
}
39-
4029
func ReplaceWindowsLineEndings(s string) string {
4130
return strings.ReplaceAll(s, "\r\n", "\n")
4231
}

libs/daemon/daemon.go

Lines changed: 0 additions & 114 deletions
This file was deleted.

libs/daemon/daemon_test.go

Lines changed: 0 additions & 60 deletions
This file was deleted.

libs/daemon/daemon_unix.go

Lines changed: 0 additions & 17 deletions
This file was deleted.

libs/daemon/daemon_windows.go

Lines changed: 0 additions & 16 deletions
This file was deleted.

libs/daemon/internal/parent_process/main.go

Lines changed: 0 additions & 30 deletions
This file was deleted.

libs/daemon/internal/parent_process/server.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)