forked from quic-go/quic-go
create a logger interface and use it everywhere
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"github.com/bifurcation/mint"
|
||||
"github.com/bifurcation/mint/syntax"
|
||||
"github.com/lucas-clemente/quic-go/internal/protocol"
|
||||
"github.com/lucas-clemente/quic-go/internal/utils"
|
||||
. "github.com/onsi/ginkgo"
|
||||
. "github.com/onsi/gomega"
|
||||
)
|
||||
@@ -25,7 +26,7 @@ var _ = Describe("TLS Extension Handler, for the server", func() {
|
||||
)
|
||||
|
||||
BeforeEach(func() {
|
||||
handler = NewExtensionHandlerServer(&TransportParameters{}, nil, protocol.VersionWhatever).(*extensionHandlerServer)
|
||||
handler = NewExtensionHandlerServer(&TransportParameters{}, nil, protocol.VersionWhatever, utils.DefaultLogger).(*extensionHandlerServer)
|
||||
el = make(mint.ExtensionList, 0)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user