Skip to content

Commit 7ea5355

Browse files
committed
sync
1 parent d913768 commit 7ea5355

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

contributors/list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Michael Vigovsky <[email protected]>
4747
4848
Oleg Strokachuk <[email protected]>
4949
Richard Artoul <[email protected]>
50+
Robert Sköld <[email protected]>
5051
Robin Hahling <[email protected]>
5152
Sergei Sobolev <[email protected]>
5253
Sergey Melekhin <[email protected]>

tests/std/custom_dial_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
package std
1919

2020
import (
21+
"context"
2122
"net"
2223
"testing"
2324

@@ -35,7 +36,7 @@ func TestStdCustomDial(t *testing.T) {
3536
Username: "default",
3637
Password: "",
3738
},
38-
Dial: func(addr string) (net.Conn, error) {
39+
DialContext: func(ctx context.Context, addr string) (net.Conn, error) {
3940
dialCount++
4041
return net.Dial("tcp", addr)
4142
},

0 commit comments

Comments
 (0)