about summary refs log tree commit diff
path: root/absl/container/fixed_array_exception_safety_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'absl/container/fixed_array_exception_safety_test.cc')
-rw-r--r--absl/container/fixed_array_exception_safety_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/container/fixed_array_exception_safety_test.cc b/absl/container/fixed_array_exception_safety_test.cc
index c123c2a1c0d2..da63dbfe38e7 100644
--- a/absl/container/fixed_array_exception_safety_test.cc
+++ b/absl/container/fixed_array_exception_safety_test.cc
@@ -97,7 +97,7 @@ testing::AssertionResult ReadMemory(FixedArr* fixed_arr) {
 
 TEST(FixedArrayExceptionSafety, Fill) {
   auto test_fill = testing::MakeExceptionSafetyTester()
-                       .WithInvariants(ReadMemory)
+                       .WithContracts(ReadMemory)
                        .WithOperation([&](FixedArr* fixed_arr_ptr) {
                          auto thrower =
                              Thrower(kUpdatedValue, testing::nothrow_ctor);