aboutsummaryrefslogtreecommitdiff
path: root/src/net/platform_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/platform_test.go')
-rw-r--r--src/net/platform_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/platform_test.go b/src/net/platform_test.go
index 76c53138cd..2a14095cc2 100644
--- a/src/net/platform_test.go
+++ b/src/net/platform_test.go
@@ -5,6 +5,7 @@
package net
import (
+ "internal/testenv"
"os"
"runtime"
"strings"
@@ -110,7 +111,7 @@ func testableListenArgs(network, address, client string) bool {
}
// Test wildcard IP addresses.
- if wildcard && (testing.Short() || !*testExternal) {
+ if wildcard && !testenv.HasExternalNetwork() {
return false
}