ci: update to Go 1.22.0 (#4312)

This commit is contained in:
Marten Seemann
2024-02-08 09:15:56 +07:00
committed by GitHub
parent 43baf2db7a
commit 013949cda3
10 changed files with 16 additions and 18 deletions

View File

@@ -1,5 +1,3 @@
//go:build go1.21
package qtls
import (

View File

@@ -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))