Browse Source

fix sockopt test

Darien Raymond 7 years ago
parent
commit
4b6e12815d
1 changed files with 1 additions and 1 deletions
  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)
 	assert(err, IsNil)
 	defer tcpServer.Close()
 	defer tcpServer.Close()
 
 
-	conn, err := Dial(context.Background(), dest)
+	conn, err := Dial(context.Background(), dest, nil)
 	assert(err, IsNil)
 	assert(err, IsNil)
 	defer conn.Close()
 	defer conn.Close()