From a896e81cd9d5ef1fa87e4835da1f7765a617ec3d Mon Sep 17 00:00:00 2001 From: Lucas Clemente Date: Mon, 17 Apr 2017 15:31:51 +0200 Subject: [PATCH] Fix quic_client integration tests Apparently the output format of the quic_client changed. --- integrationtests/integration_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/integrationtests/integration_test.go b/integrationtests/integration_test.go index c9c6bb13c..96e800a40 100644 --- a/integrationtests/integration_test.go +++ b/integrationtests/integration_test.go @@ -38,7 +38,8 @@ var _ = Describe("Integration tests", func() { Expect(err).NotTo(HaveOccurred()) defer session.Kill() Eventually(session).Should(Exit(0)) - Expect(session.Out).To(Say("Response:\nheaders: HTTP/1.1 200\nstatus: 200\n\nbody: Hello, World!\n")) + Expect(session.Out).To(Say(":status 200")) + Expect(session.Out).To(Say("body: Hello, World!\n")) }) It("posts and reads a body", func() { @@ -54,7 +55,8 @@ var _ = Describe("Integration tests", func() { Expect(err).NotTo(HaveOccurred()) defer session.Kill() Eventually(session).Should(Exit(0)) - Expect(session.Out).To(Say("Response:\nheaders: HTTP/1.1 200\nstatus: 200\n\nbody: foo\n")) + Expect(session.Out).To(Say(":status 200")) + Expect(session.Out).To(Say("body: foo\n")) }) It("gets a file", func() {