Переглянути джерело

output bytes instead of string

Darien Raymond 9 роки тому
батько
коміт
dc0e9aa9b3
1 змінених файлів з 1 додано та 1 видалено
  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
 			}
 		}