From 431b63ae159c87c4a9cc24d8b58db0bec342e9c2 Mon Sep 17 00:00:00 2001 From: Nathan Rijksen Date: Thu, 31 Aug 2023 13:58:58 -0700 Subject: [PATCH] Drop sleep --- test/pty/pty_test.go | 2 -- 1 file changed, 2 deletions(-) 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" {