Fix tests
This commit is contained in:
parent
b2e3e995ce
commit
06977c9b44
2 changed files with 14 additions and 5 deletions
|
@ -128,7 +128,7 @@ func TestRecv(t *testing.T) {
|
|||
buf := &bytes.Buffer{}
|
||||
buf.WriteString("CMD\r\n")
|
||||
buf.WriteString("PING :test\r\n")
|
||||
buf.WriteString("001\r\n")
|
||||
buf.WriteString("001 foo\r\n")
|
||||
c.reader = bufio.NewReader(buf)
|
||||
|
||||
c.ready.Add(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue