diff --git a/h2quic/request_writer_test.go b/h2quic/request_writer_test.go index 2b33fe7d5..19cb44180 100644 --- a/h2quic/request_writer_test.go +++ b/h2quic/request_writer_test.go @@ -109,10 +109,6 @@ var _ = Describe("Request", func() { req.AddCookie(cookie2) rw.WriteRequest(req, 11, true, false) _, headerFields := decode(headerStream.dataWritten.Bytes()) - // TODO(lclemente): Remove Or() once we drop support for Go 1.8. - Expect(headerFields).To(Or( - HaveKeyWithValue("cookie", "Cookie #1=Value #1; Cookie #2=Value #2"), - HaveKeyWithValue("cookie", `Cookie #1="Value #1"; Cookie #2="Value #2"`), - )) + Expect(headerFields).To(HaveKeyWithValue("cookie", `Cookie #1="Value #1"; Cookie #2="Value #2"`)) }) })