From f02e8c04fe4217f97fc8258899a3b072f2bee95f Mon Sep 17 00:00:00 2001 From: Derek Mauro Date: Wed, 16 Nov 2022 07:01:18 -0800 Subject: Minor formatting changes due to internal refactoring PiperOrigin-RevId: 488930308 Change-Id: Ie620734e2f47df47e4000bc8eb2fff7f52939596 --- absl/memory/memory_test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'absl/memory') diff --git a/absl/memory/memory_test.cc b/absl/memory/memory_test.cc index 8ac856b1..14b8b982 100644 --- a/absl/memory/memory_test.cc +++ b/absl/memory/memory_test.cc @@ -63,6 +63,7 @@ TEST(WrapUniqueTest, WrapUnique) { } EXPECT_EQ(0, DestructorVerifier::instance_count()); } + TEST(MakeUniqueTest, Basic) { std::unique_ptr p = absl::make_unique(); EXPECT_EQ("", *p); @@ -164,7 +165,7 @@ struct ArrayWatch { } }; -TEST(Make_UniqueTest, Array) { +TEST(MakeUniqueTest, Array) { // Ensure state is clean before we start so that these tests // are order-agnostic. ArrayWatch::allocs().clear(); @@ -175,7 +176,7 @@ TEST(Make_UniqueTest, Array) { EXPECT_THAT(ArrayWatch::allocs(), ElementsAre(5 * sizeof(ArrayWatch))); } -TEST(Make_UniqueTest, NotAmbiguousWithStdMakeUnique) { +TEST(MakeUniqueTest, NotAmbiguousWithStdMakeUnique) { // Ensure that absl::make_unique is not ambiguous with std::make_unique. // In C++14 mode, the below call to make_unique has both types as candidates. struct TakesStdType { -- cgit v1.2.3