Skip to content

Commit

Permalink
[memprof] Drop testing:: in a unit test (NFC) (llvm#119636)
Browse files Browse the repository at this point in the history
Note that we already have:

  using ::testing::IsEmpty;
  • Loading branch information
kazutakahirata authored Dec 12, 2024
1 parent 80e7f50 commit 8420602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/unittests/ProfileData/MemProfTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,9 @@ TEST(MemProf, RadixTreeBuilderEmpty) {
CallStackRadixTreeBuilder<FrameId> Builder;
Builder.build(std::move(MemProfCallStackData), &MemProfFrameIndexes,
FrameHistogram);
ASSERT_THAT(Builder.getRadixArray(), testing::IsEmpty());
ASSERT_THAT(Builder.getRadixArray(), IsEmpty());
const auto Mappings = Builder.takeCallStackPos();
ASSERT_THAT(Mappings, testing::IsEmpty());
ASSERT_THAT(Mappings, IsEmpty());
}

// Verify CallStackRadixTreeBuilder can handle one trivial call stack.
Expand Down

0 comments on commit 8420602

Please sign in to comment.