浏览代码

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