mirror of
https://github.com/golang/go
synced 2024-11-19 07:04:43 -07:00
net: skip new TestReadFromUDP on nacl and plan9 (fixes build)
TBR=0intro R=golang-codereviews CC=golang-codereviews https://golang.org/cl/157820043
This commit is contained in:
parent
3114bd6f97
commit
eeb2211a5b
@ -36,6 +36,11 @@ func TestResolveUDPAddr(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestReadFromUDP(t *testing.T) {
|
||||
switch runtime.GOOS {
|
||||
case "nacl", "plan9":
|
||||
t.Skipf("skipping test on %q", runtime.GOOS)
|
||||
}
|
||||
|
||||
ra, err := ResolveUDPAddr("udp", "127.0.0.1:7")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
Loading…
Reference in New Issue
Block a user