about summary refs log tree commit diff
path: root/absl
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2017-11-22T21·36-0800
committerXiaoyi Zhang <zhangxy988@gmail.com>2017-11-27T19·53-0500
commit79610733f46c888b56d05d7ca981350655c55a5d (patch)
tree8f0b14c31d8ffd30634215d92cd49b58d74bd7bb /absl
parentae0cef35ae5a7bfd873fb87babdd4900cbdb073c (diff)
Changes imported from Abseil "staging" branch:
  - 5c323578d5492e9fd6f24d049ed3f55c9dc136f8 Fix typo. by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 5c323578d5492e9fd6f24d049ed3f55c9dc136f8
Change-Id: I75af467a356ac6037738aadbffe93cbcd7a1a747
Diffstat (limited to 'absl')
-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(