mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-29 12:17:48 +00:00
fb30a40376
The prior code was comparing a to a, when it should compare a to b. While we're at it, split the float32 and float64 cases apart to ensure that the type provided by the implementation under test really was the right float type. This matches the behavior of the default case (which check that the types exactly match). Change-Id: I01b1ff5b7f312a35cc8d1f012f3f747db26379fd Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/178377 Reviewed-by: Damien Neil <dneil@google.com> |
||
---|---|---|
.. | ||
prototest |