add client functionality to the streamsMap

This commit is contained in:
Marten Seemann 2016-12-13 11:44:40 +07:00
parent 6cb48aad71
commit 16da08a440
No known key found for this signature in database
GPG key ID: 3603F40B121FCDEA
6 changed files with 70 additions and 13 deletions

View file

@ -159,7 +159,7 @@ var _ = Describe("Session", func() {
func(protocol.ConnectionID) { closeCallbackCalled = true },
)
Expect(err).ToNot(HaveOccurred())
Expect(clientSession.streamsMap.openStreams).To(HaveLen(1))
Expect(clientSession.streamsMap.openStreams).To(HaveLen(1)) // Crypto stream
})