Fixed typo in formatDiffList (#148)
I assume this is a typo, as the left and right side of the boolean-or were
identical.
diff --git a/cmp/report_compare.go b/cmp/report_compare.go
index 05efb99..17a05ee 100644
--- a/cmp/report_compare.go
+++ b/cmp/report_compare.go
@@ -168,7 +168,7 @@
var isZero bool
switch opts.DiffMode {
case diffIdentical:
- isZero = value.IsZero(r.Value.ValueX) || value.IsZero(r.Value.ValueX)
+ isZero = value.IsZero(r.Value.ValueX) || value.IsZero(r.Value.ValueY)
case diffRemoved:
isZero = value.IsZero(r.Value.ValueX)
case diffInserted: