mirror of
https://github.com/golang/go
synced 2024-09-25 09:20:18 -06:00
net: fix some test bug
Fixes #5785. R=golang-dev, dave CC=golang-dev https://golang.org/cl/10587043
This commit is contained in:
parent
38a77ff03f
commit
6ab49fbc6e
@ -141,6 +141,7 @@ func TestUnixAutobind(t *testing.T) {
|
||||
|
||||
func TestUnixConnLocalAndRemoteNames(t *testing.T) {
|
||||
for _, laddr := range []string{"", testUnixAddr()} {
|
||||
laddr := laddr
|
||||
taddr := testUnixAddr()
|
||||
ta, err := ResolveUnixAddr("unix", taddr)
|
||||
if err != nil {
|
||||
@ -196,6 +197,7 @@ func TestUnixConnLocalAndRemoteNames(t *testing.T) {
|
||||
|
||||
func TestUnixgramConnLocalAndRemoteNames(t *testing.T) {
|
||||
for _, laddr := range []string{"", testUnixAddr()} {
|
||||
laddr := laddr
|
||||
taddr := testUnixAddr()
|
||||
ta, err := ResolveUnixAddr("unixgram", taddr)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user