Index: llvm/unittests/ProfileData/CoverageMappingTest.cpp =================================================================== --- llvm/unittests/ProfileData/CoverageMappingTest.cpp +++ llvm/unittests/ProfileData/CoverageMappingTest.cpp @@ -835,8 +835,7 @@ std::vector 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) {