From a6c8875c9101b27be67e57288b6bc95863f470ee Mon Sep 17 00:00:00 2001 From: Jonathan Bluett-Duncan Date: Sun, 17 Mar 2024 11:53:19 +0000 Subject: [PATCH] Fix failing test --- ghttp/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghttp/handlers.go b/ghttp/handlers.go index 3e7b66971..4a76da1be 100644 --- a/ghttp/handlers.go +++ b/ghttp/handlers.go @@ -210,7 +210,7 @@ func (g GHTTPWithGomega) VerifyProtoRepresenting(expected proto.Message) http.Ha err = proto.Unmarshal(body, actual) g.gomega.Expect(err).ShouldNot(HaveOccurred(), "Failed to unmarshal protobuf") - g.gomega.Expect(actual).Should(Equal(expected), "ProtoBuf Mismatch") + g.gomega.Expect(proto.Equal(expected, actual)).Should(BeTrue(), "ProtoBuf Mismatch") }, ) }