Fix tests
This commit is contained in:
parent
352f7a8487
commit
fb287dce2f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue