mirror of
https://github.com/golang/go
synced 2024-11-24 02:30:12 -07:00
net/rpc: enable TestGobError on Plan 9
This issue has been fixed in CL 31271. Fixes #8908. Change-Id: I8015490e2d992e09c664560e42188315e0e0669e Reviewed-on: https://go-review.googlesource.com/32150 Run-TryBot: David du Colombier <0intro@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
f46324cffb
commit
8e4e103a00
@ -8,7 +8,6 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net"
|
"net"
|
||||||
"runtime"
|
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
@ -53,9 +52,6 @@ func (s *S) Recv(nul *struct{}, reply *R) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestGobError(t *testing.T) {
|
func TestGobError(t *testing.T) {
|
||||||
if runtime.GOOS == "plan9" {
|
|
||||||
t.Skip("skipping test; see https://golang.org/issue/8908")
|
|
||||||
}
|
|
||||||
defer func() {
|
defer func() {
|
||||||
err := recover()
|
err := recover()
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user