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

@@ -40,7 +40,7 @@ var _ = Describe("IETF draft Header", func() {
Expect(err).To(MatchError(qerr.InvalidVersionNegotiationPacket))
})
It("errors if the version list is emtpy", func() {
It("errors if the version list is empty", func() {
versions := []protocol.VersionNumber{0x22334455}
data := ComposeVersionNegotiation(0x1234567890, versions)
// remove 8 bytes (two versions), since ComposeVersionNegotiation also added a reserved version number
@@ -144,7 +144,7 @@ var _ = Describe("IETF draft Header", func() {
Expect(b.Len()).To(BeZero())
})
It("reads a header with ommited connection ID", func() {
It("reads a header with omitted connection ID", func() {
data := []byte{
0x1,
0x21, // packet number