forked from quic-go/quic-go
ci: update to Go 1.22.0 (#4312)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
//go:build go1.21
|
||||
|
||||
package qtls
|
||||
|
||||
import (
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
||||
var _ = Describe("Go 1.21", func() {
|
||||
var _ = Describe("interface go crypto/tls", func() {
|
||||
It("converts to tls.EncryptionLevel", func() {
|
||||
Expect(ToTLSEncryptionLevel(protocol.EncryptionInitial)).To(Equal(tls.QUICEncryptionLevelInitial))
|
||||
Expect(ToTLSEncryptionLevel(protocol.EncryptionHandshake)).To(Equal(tls.QUICEncryptionLevelHandshake))
|
||||
|
||||
Reference in New Issue
Block a user