cosmetic changes in tests

This commit is contained in:
Marten Seemann
2016-05-16 18:32:08 +07:00
parent 0d4dd8869d
commit fb6d90b813
9 changed files with 46 additions and 74 deletions

View File

@@ -211,8 +211,7 @@ var _ = Describe("StreamFrame", func() {
streamIDLen: 13,
Data: []byte("foobar"),
}).Write(b, 0)
Expect(err).To(HaveOccurred())
Expect(err).To(Equal(errInvalidStreamIDLen))
Expect(err).To(MatchError(errInvalidStreamIDLen))
})
It("writes a 1 byte StreamID", func() {