1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00

output bytes instead of string

This commit is contained in:
Darien Raymond 2016-11-22 00:25:00 +01:00
parent 90504fc077
commit dc0e9aa9b3
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -56,7 +56,7 @@ func TestShadowsocksTCP(t *testing.T) {
break break
} }
if response.Len() > len(expectedResponse) { if response.Len() > len(expectedResponse) {
fmt.Printf("Unexpected response: %s\n", response.String()) fmt.Printf("Unexpected response: %v\n", response.Value)
break break
} }
} }