Merge pull request #3185 from lucas-clemente/simplify-qtls-tests

simplify the qtls tests
This commit is contained in:
Marten Seemann
2021-05-29 11:40:45 -07:00
committed by GitHub
2 changed files with 0 additions and 22 deletions

View File

@@ -1,20 +0,0 @@
// +build go1.15
// +build !go1.16
package qtls
import (
"crypto/tls"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("qtls wrapper", func() {
It("gets cipher suites", func() {
for _, id := range []uint16{tls.TLS_AES_128_GCM_SHA256, tls.TLS_AES_256_GCM_SHA384, tls.TLS_CHACHA20_POLY1305_SHA256} {
cs := CipherSuiteTLS13ByID(id)
Expect(cs.ID).To(Equal(id))
}
})
})

View File

@@ -1,5 +1,3 @@
// +build go1.16
package qtls
import (