瀏覽代碼

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
 			}
 		}