mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
parent
e9666c6313
commit
268841f0cc
10 changed files with 28 additions and 14 deletions
|
@ -48,7 +48,7 @@ var _ = Describe("Client", func() {
|
|||
|
||||
It("creates a new client", func() {
|
||||
var err error
|
||||
client, err = NewClient("quic.clemente.io:1337", nil, nil)
|
||||
client, err = NewClient("quic.clemente.io:1337", nil, nil, nil)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
Expect(client.hostname).To(Equal("quic.clemente.io"))
|
||||
Expect(*(*[]protocol.VersionNumber)(unsafe.Pointer(reflect.ValueOf(client.session.(*Session).cryptoSetup).Elem().FieldByName("negotiatedVersions").UnsafeAddr()))).To(BeNil())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue