mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: use t.Skip{,f}
Replace various t.Log{,f} ; return checks with t.Skip{,f}.
R=golang-dev, n13m3y3r, bradfitz, adg, mikioh.mikioh
CC=golang-dev
https://golang.org/cl/7193044
This commit is contained in:
parent
2e51f78280
commit
6a9e956f19
31 changed files with 126 additions and 256 deletions
|
|
@ -90,8 +90,7 @@ var fileListenerTests = []struct {
|
|||
func TestFileListener(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 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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue