forked from quic-go/quic-go
15 lines
359 B
Go
15 lines
359 B
Go
package protocol
|
|
|
|
import (
|
|
. "github.com/onsi/ginkgo"
|
|
. "github.com/onsi/gomega"
|
|
)
|
|
|
|
var _ = Describe("Perspective", func() {
|
|
It("has a string representation", func() {
|
|
Expect(PerspectiveClient.String()).To(Equal("Client"))
|
|
Expect(PerspectiveServer.String()).To(Equal("Server"))
|
|
Expect(Perspective(0).String()).To(Equal("invalid perspective"))
|
|
})
|
|
})
|