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

@@ -290,7 +290,7 @@ var _ = Describe("Stream", func() {
}()
n, err := str.Write([]byte{0xDE, 0xCA, 0xFB, 0xAD})
Expect(len(handler.frames)).To(Equal(2))
Expect(handler.frames).To(HaveLen(2))
Expect(b).To(BeTrue())
Expect(n).To(Equal(4))
Expect(err).ToNot(HaveOccurred())