diff --git a/ghttp/test_server_test.go b/ghttp/test_server_test.go index be1c58e82..fd2e80728 100644 --- a/ghttp/test_server_test.go +++ b/ghttp/test_server_test.go @@ -1072,6 +1072,7 @@ var _ = Describe("TestServer", func() { var received protobuf.SimpleMessage body, err := ioutil.ReadAll(resp.Body) + Expect(err).ShouldNot(HaveOccurred()) err = proto.Unmarshal(body, &received) Expect(err).ShouldNot(HaveOccurred()) })