forked from quic-go/quic-go
also use the multiplexer for the server
This commit is contained in:
@@ -11,4 +11,9 @@ var _ = Describe("Perspective", func() {
|
||||
Expect(PerspectiveServer.String()).To(Equal("Server"))
|
||||
Expect(Perspective(0).String()).To(Equal("invalid perspective"))
|
||||
})
|
||||
|
||||
It("returns the opposite", func() {
|
||||
Expect(PerspectiveClient.Opposite()).To(Equal(PerspectiveServer))
|
||||
Expect(PerspectiveServer.Opposite()).To(Equal(PerspectiveClient))
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user