Fix tests
This commit is contained in:
parent
352f7a8487
commit
fb287dce2f
@ -141,7 +141,7 @@ func TestRecv(t *testing.T) {
|
||||
func TestRecvTriggersReconnect(t *testing.T) {
|
||||
c := testClient()
|
||||
c.conn = &mockConn{}
|
||||
c.reader = bufio.NewReader(&bytes.Buffer{})
|
||||
c.reader = bufio.NewReader(bytes.NewBufferString("001 bob\r\n"))
|
||||
done := make(chan struct{})
|
||||
ok := false
|
||||
go func() {
|
||||
|
Loading…
Reference in New Issue
Block a user