about summary refs log tree commit diff
path: root/absl/memory/memory_exception_safety_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'absl/memory/memory_exception_safety_test.cc')
-rw-r--r--absl/memory/memory_exception_safety_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/memory/memory_exception_safety_test.cc b/absl/memory/memory_exception_safety_test.cc
index d1f6e84f10f8..00d2b192cfc3 100644
--- a/absl/memory/memory_exception_safety_test.cc
+++ b/absl/memory/memory_exception_safety_test.cc
@@ -32,7 +32,7 @@ TEST(MakeUnique, CheckForLeaks) {
                     .WithInitialValue(Thrower(kValue))
                     // Ensures make_unique does not modify the input. The real
                     // test, though, is ConstructorTracker checking for leaks.
-                    .WithInvariants(testing::strong_guarantee);
+                    .WithContracts(testing::strong_guarantee);
 
   EXPECT_TRUE(tester.Test([](Thrower* thrower) {
     static_cast<void>(absl::make_unique<Thrower>(*thrower));