Skip to content

Commit 397b687

Browse files
committed
net: skip UnixShutdown test on windows
R=golang-dev, r CC=golang-dev https://golang.org/cl/6259052
1 parent 0ce9045 commit 397b687

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pkg/net/net_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ func TestShutdown(t *testing.T) {
6161
}
6262

6363
func TestShutdownUnix(t *testing.T) {
64-
if runtime.GOOS == "plan9" {
64+
switch runtime.GOOS {
65+
case "windows", "plan9":
6566
t.Logf("skipping test on %q", runtime.GOOS)
6667
return
6768
}

0 commit comments

Comments
 (0)