cosmetic changes in tests

This commit is contained in:
Marten Seemann
2016-05-15 13:08:56 +07:00
parent 0d29bdc499
commit 540941117e
9 changed files with 58 additions and 58 deletions

View File

@@ -24,7 +24,7 @@ var _ = Describe("ConnectionCloseFrame", func() {
frame, err := ParseConnectionCloseFrame(b)
Expect(err).ToNot(HaveOccurred())
Expect(frame.ErrorCode).To(Equal(protocol.ErrorCode(0xDECAFBAD)))
Expect(len(frame.ReasonPhrase)).To(Equal(0))
Expect(frame.ReasonPhrase).To(BeEmpty())
Expect(b.Len()).To(Equal(0))
})
})