diff --git a/test/pty/pty_test.go b/test/pty/pty_test.go index 8020b4a..656baf5 100644 --- a/test/pty/pty_test.go +++ b/test/pty/pty_test.go @@ -7,7 +7,6 @@ import ( "runtime" "strings" "testing" - "time" "github.com/creack/pty" ) @@ -37,7 +36,6 @@ func Test_Pty_Output(t *testing.T) { t.Fatalf("read error: %s", err) break } - time.Sleep(time.Millisecond * 100) } outputv := strings.TrimSpace(string(output)) if outputv != "hello" {