diff options
Diffstat (limited to 'goctl_test.go')
-rw-r--r-- | goctl_test.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/goctl_test.go b/goctl_test.go index 7e30f7e..dce75e7 100644 --- a/goctl_test.go +++ b/goctl_test.go @@ -55,26 +55,6 @@ func dial(t testing.TB) net.Conn { return c } -func TestPing(t *testing.T) { - gc := start(t) - defer gc.Stop() - - c := dial(t) - defer c.Close() - - buf := []byte("ping") - Write(c, buf) - - buf, err := Read(c) - if err != nil { - t.Fatalf("Couldn't read from socket: %s.", err) - } - s := string(buf) - if s != "pong" { - t.Errorf("Sending ping: got '%s', expected 'pong'.", s) - } -} - func TestAlreadyRunning(t *testing.T) { gc := start(t) defer gc.Stop() |