remove stream.CloseRemote from public API

This commit is contained in:
Lucas Clemente
2017-02-24 18:40:12 +01:00
parent 811bd20939
commit b2177c92d8
3 changed files with 7 additions and 4 deletions

View File

@@ -1274,7 +1274,7 @@ var _ = Describe("Session", func() {
err = s.Close()
Expect(err).NotTo(HaveOccurred())
s.(*stream).sentFin()
s.CloseRemote(0)
s.(*stream).CloseRemote(0)
_, err = s.Read([]byte("a"))
Expect(err).To(MatchError(io.EOF))
sess.garbageCollectStreams()