Skip to content

Commit

Permalink
Fix hanging testcase
Browse files Browse the repository at this point in the history
AsyncInteractChannels uses expect.Readline, it hung on the second "echo2".
  • Loading branch information
Gerrit Renker committed Dec 13, 2015
1 parent 198e633 commit a8c4829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gexpect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func TestBiChannel(t *testing.T) {
}
sender <- "echo\n"
wait("echo")
sender <- "echo2"
sender <- "echo2\n"
wait("echo2")
child.Close()
// child.Wait()
Expand Down

0 comments on commit a8c4829

Please sign in to comment.