소스 검색

fix sockopt test

Darien Raymond 7 년 전
부모
커밋
4b6e12815d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      transport/internet/tcp/sockopt_linux_test.go

+ 1 - 1
transport/internet/tcp/sockopt_linux_test.go

@@ -20,7 +20,7 @@ func TestGetOriginalDestination(t *testing.T) {
 	assert(err, IsNil)
 	defer tcpServer.Close()
 
-	conn, err := Dial(context.Background(), dest)
+	conn, err := Dial(context.Background(), dest, nil)
 	assert(err, IsNil)
 	defer conn.Close()