Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jbduncan authored and onsi committed Mar 18, 2024
1 parent 436a197 commit a6c8875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghttp/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
},
)
}
Expand Down

0 comments on commit a6c8875

Please # to comment.