We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 436a197 commit a6c8875Copy full SHA for a6c8875
ghttp/handlers.go
@@ -210,7 +210,7 @@ func (g GHTTPWithGomega) VerifyProtoRepresenting(expected proto.Message) http.Ha
210
err = proto.Unmarshal(body, actual)
211
g.gomega.Expect(err).ShouldNot(HaveOccurred(), "Failed to unmarshal protobuf")
212
213
- g.gomega.Expect(actual).Should(Equal(expected), "ProtoBuf Mismatch")
+ g.gomega.Expect(proto.Equal(expected, actual)).Should(BeTrue(), "ProtoBuf Mismatch")
214
},
215
)
216
}
0 commit comments