summaryrefslogtreecommitdiff
path: root/src/pkg/net/file_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/file_test.go')
-rw-r--r--src/pkg/net/file_test.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/pkg/net/file_test.go b/src/pkg/net/file_test.go
index 95c0b6699..acaf18851 100644
--- a/src/pkg/net/file_test.go
+++ b/src/pkg/net/file_test.go
@@ -89,9 +89,8 @@ var fileListenerTests = []struct {
func TestFileListener(t *testing.T) {
switch runtime.GOOS {
- case "plan9", "windows":
- t.Logf("skipping test on %q", runtime.GOOS)
- return
+ case "windows":
+ t.Skipf("skipping test on %q", runtime.GOOS)
}
for _, tt := range fileListenerTests {
@@ -181,8 +180,7 @@ var filePacketConnTests = []struct {
func TestFilePacketConn(t *testing.T) {
switch runtime.GOOS {
case "plan9", "windows":
- t.Logf("skipping test on %q", runtime.GOOS)
- return
+ t.Skipf("skipping test on %q", runtime.GOOS)
}
for _, tt := range filePacketConnTests {