diff options
Diffstat (limited to 'libgo/go/net/external_test.go')
-rw-r--r-- | libgo/go/net/external_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/net/external_test.go b/libgo/go/net/external_test.go index e18b547cac9..38788efc3d3 100644 --- a/libgo/go/net/external_test.go +++ b/libgo/go/net/external_test.go @@ -15,7 +15,7 @@ import ( func TestResolveGoogle(t *testing.T) { testenv.MustHaveExternalNetwork(t) - if !supportsIPv4 || !supportsIPv6 || !*testIPv4 || !*testIPv6 { + if !supportsIPv4() || !supportsIPv6() || !*testIPv4 || !*testIPv6 { t.Skip("both IPv4 and IPv6 are required") } @@ -62,7 +62,7 @@ var dialGoogleTests = []struct { func TestDialGoogle(t *testing.T) { testenv.MustHaveExternalNetwork(t) - if !supportsIPv4 || !supportsIPv6 || !*testIPv4 || !*testIPv6 { + if !supportsIPv4() || !supportsIPv6() || !*testIPv4 || !*testIPv6 { t.Skip("both IPv4 and IPv6 are required") } |