Skip to content

Commit

Permalink
F
Browse files Browse the repository at this point in the history
  • Loading branch information
adambabik committed Nov 8, 2024
1 parent ab1fb3c commit 0d7e3c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/command/command_terminal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (

"github.com/stateful/runme/v3/internal/sbuffer"
"github.com/stateful/runme/v3/internal/session"
"github.com/stateful/runme/v3/internal/testutils"
runnerv2 "github.com/stateful/runme/v3/pkg/api/gen/proto/go/runme/runner/v2"
)

Expand Down Expand Up @@ -63,7 +64,7 @@ func TestTerminalCommand_EnvPropagation(t *testing.T) {

// Wait for the prompt before sending the next command.
prompt := "$"
if os.Getenv("RUNME_TEST_ENV") == "docker" {
if testutils.IsDockerTestEnv() {

Check failure on line 67 in internal/command/command_terminal_test.go

View workflow job for this annotation

GitHub Actions / Build and test with Go 1.23 on ubuntu-latest

undefined: testutils.IsDockerTestEnv

Check failure on line 67 in internal/command/command_terminal_test.go

View workflow job for this annotation

GitHub Actions / Lint with Go 1.23

undefined: testutils.IsDockerTestEnv (compile)
prompt = "#"
}
expectContainLines(ctx, t, stdout, []string{prompt})
Expand Down

0 comments on commit 0d7e3c5

Please sign in to comment.