Fix tests

This commit is contained in:
Ken-Håvard Lieng 2017-04-13 01:59:16 +02:00
parent b2e3e995ce
commit 06977c9b44
2 changed files with 14 additions and 5 deletions

View file

@ -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)