summaryrefslogtreecommitdiffhomepage
path: root/tools/config
diff options
context:
space:
mode:
authorVincent Bernat <bernat@debian.org>2019-12-15 12:53:56 +0100
committerVincent Bernat <vincent@bernat.ch>2019-12-15 13:12:04 +0100
commitba675f0174bf8916b888d7098ed9d3c129f8c338 (patch)
tree28b100668a30c6b1b1556171f4a0008e8ee41dc0 /tools/config
parent8f029122dcb443586069adf7143b97f4f5fedbde (diff)
tests: fix failing tests when using more recent versions of protobuf
When regenerating the `*.pb.go` file, we get many tests failing because testify is using `reflect.DeepEqual()` under the hood. There is no option to have a custom comparison function and currently, the only way around is to use `proto.Equal()` to compare protobuf messages. The downside of using `proto.Equal()` is that we loose the expected/actual display in case of a mismatch. When comparing family, we compare `Api`/`Sapi` in separate asserts instead of using `proto.Equal()`. Fix: #1952
Diffstat (limited to 'tools/config')
0 files changed, 0 insertions, 0 deletions