about summary refs log tree commit diff
path: root/absl/base
diff options
context:
space:
mode:
Diffstat (limited to 'absl/base')
-rw-r--r--absl/base/exception_safety_testing_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/exception_safety_testing_test.cc b/absl/base/exception_safety_testing_test.cc
index c1b5df265467..4931c8865af5 100644
--- a/absl/base/exception_safety_testing_test.cc
+++ b/absl/base/exception_safety_testing_test.cc
@@ -392,7 +392,7 @@ struct FailsBasicGuarantee {
   }
 
   bool operator==(const FailsBasicGuarantee& other) const {
-    return i != other.i;
+    return i == other.i;
   }
 
   friend testing::AssertionResult AbslCheckInvariants(