[PATCH] D95258: [RGT][ProfileData] Correct a test assertion
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 5 06:55:27 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa0749f9bcc7c: [RGT][ProfileData] Correct a test assertion (authored by probinson).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95258/new/
https://reviews.llvm.org/D95258
Files:
llvm/unittests/ProfileData/CoverageMappingTest.cpp
Index: llvm/unittests/ProfileData/CoverageMappingTest.cpp
===================================================================
--- llvm/unittests/ProfileData/CoverageMappingTest.cpp
+++ llvm/unittests/ProfileData/CoverageMappingTest.cpp
@@ -835,8 +835,7 @@
std::vector<InstantiationGroup> InstantiationGroups =
LoadedCoverage->getInstantiationGroups("expanded");
- for (const auto &Group : InstantiationGroups)
- ASSERT_EQ(Group.size(), 1U);
+ ASSERT_TRUE(InstantiationGroups.empty());
}
TEST_P(CoverageMappingTest, load_coverage_for_expanded_file) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95258.321754.patch
Type: text/x-patch
Size: 571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210205/4905a902/attachment.bin>
More information about the llvm-commits
mailing list