update test case

pull/215/head
v2ray 2016-07-14 21:31:54 +02:00
parent c32f1a0152
commit 906d846c2e
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func TestDialAndListen(t *testing.T) {
go func() { go func() {
clientSend := make([]byte, 1024*1024) clientSend := make([]byte, 1024*1024)
rand.Read(clientSend) rand.Read(clientSend)
clientConn.Write(clientSend) go clientConn.Write(clientSend)
clientReceived := make([]byte, 1024*1024) clientReceived := make([]byte, 1024*1024)
nBytes, _ := io.ReadFull(clientConn, clientReceived) nBytes, _ := io.ReadFull(clientConn, clientReceived)