Fix tcp input test

This commit is contained in:
Leonid Bugaev
2015-08-09 11:08:53 +03:00
parent d6b5c675cf
commit 9a76e354c5
+1 -1
View File
@@ -40,7 +40,7 @@ func TestTCPInput(t *testing.T) {
for i := 0; i < 100; i++ {
wg.Add(1)
encoded := make([]byte, len(msg)*2+1)
encoded := make([]byte, len(msg)*2)
hex.Encode(encoded, msg)
conn.Write(append(encoded, '\n'))
}