run misspell in gometalinter

This commit is contained in:
Marten Seemann
2018-02-21 15:48:01 +08:00
parent b6c41464c6
commit 11af98e338
21 changed files with 23 additions and 22 deletions

View File

@@ -438,7 +438,7 @@ var _ = Describe("Client Crypto Setup", func() {
Expect(cs.forwardSecureAEAD).ToNot(BeNil())
})
It("reads the connection paramaters", func() {
It("reads the connection parameters", func() {
shloMap[TagICSL] = []byte{13, 0, 0, 0} // 13 seconds
params, err := cs.handleSHLOMessage(shloMap)
Expect(err).ToNot(HaveOccurred())

View File

@@ -151,7 +151,7 @@ var _ = Describe("TLS Extension Handler, for the server", func() {
Expect(err).ToNot(HaveOccurred())
})
It("errros when a version negotiation was performed, although we already support the inital version", func() {
It("erros when a version negotiation was performed, although we already support the initial version", func() {
handler.supportedVersions = []protocol.VersionNumber{11, 12, 13}
handler.version = 13
body, err := syntax.Marshal(clientHelloTransportParameters{

View File

@@ -242,7 +242,7 @@ var _ = Describe("Transport Parameters", func() {
Expect(values).To(HaveKeyWithValue(maxPacketSizeParameterID, []byte{0x5, 0xac})) // 1452 = 0x5ac
})
It("request ommision of the connection ID", func() {
It("request ommission of the connection ID", func() {
params.OmitConnectionID = true
values := paramsListToMap(params.getTransportParameters())
Expect(values).To(HaveKeyWithValue(omitConnectionIDParameterID, []byte{}))