forked from quic-go/quic-go
implement marshalling of events
This commit is contained in:
15
qlog/types_test.go
Normal file
15
qlog/types_test.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package qlog
|
||||
|
||||
import (
|
||||
. "github.com/onsi/ginkgo"
|
||||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
||||
var _ = Describe("Types", func() {
|
||||
It("has a string representation for the category", func() {
|
||||
Expect(categoryConnectivity.String()).To(Equal("connectivity"))
|
||||
Expect(categoryTransport.String()).To(Equal("transport"))
|
||||
Expect(categoryRecovery.String()).To(Equal("recovery"))
|
||||
Expect(categorySecurity.String()).To(Equal("security"))
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user