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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/platform_test.go b/src/net/platform_test.go
index d3bb918edb..2da23dedce 100644
--- a/src/net/platform_test.go
+++ b/src/net/platform_test.go
@@ -59,7 +59,7 @@ func testableNetwork(network string) bool {
}
case "unixpacket":
switch runtime.GOOS {
- case "aix", "android", "darwin", "plan9", "windows":
+ case "aix", "android", "darwin", "ios", "plan9", "windows":
return false
case "netbsd":
// It passes on amd64 at least. 386 fails (Issue 22927). arm is unknown.
@@ -82,7 +82,7 @@ func testableNetwork(network string) bool {
}
func iOS() bool {
- return runtime.GOOS == "darwin" && runtime.GOARCH == "arm64"
+ return runtime.GOOS == "ios"
}
// testableAddress reports whether address of network is testable on