Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d8a5830

Browse files
committed
added back the windows failing test
1 parent c7d7d21 commit d8a5830

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cli/cliui/prompt_test.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"io"
77
"os"
88
"os/exec"
9+
"runtime"
910
"testing"
1011

1112
"github.com/stretchr/testify/assert"
@@ -229,9 +230,9 @@ func TestPasswordTerminalState(t *testing.T) {
229230
passwordHelper()
230231
return
231232
}
232-
// if runtime.GOOS == "windows" {
233-
// t.Skip("Skipping on windows. PTY doesn't read ptty.Write correctly.")
234-
// }
233+
if runtime.GOOS == "windows" {
234+
t.Skip("Skipping on windows. PTY doesn't read ptty.Write correctly.")
235+
}
235236
t.Parallel()
236237

237238
ptty := ptytest.New(t)

0 commit comments

Comments
 (0)