Explorar o código

output bytes instead of string

Darien Raymond %!s(int64=9) %!d(string=hai) anos
pai
achega
dc0e9aa9b3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      testing/scenarios/shadowsocks_test.go

+ 1 - 1
testing/scenarios/shadowsocks_test.go

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