aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ProfileData/CoverageMappingTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp')
-rw-r--r--llvm/unittests/ProfileData/CoverageMappingTest.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/unittests/ProfileData/CoverageMappingTest.cpp b/llvm/unittests/ProfileData/CoverageMappingTest.cpp
index 6434474..f1d09c2 100644
--- a/llvm/unittests/ProfileData/CoverageMappingTest.cpp
+++ b/llvm/unittests/ProfileData/CoverageMappingTest.cpp
@@ -893,11 +893,12 @@ TEST_P(CoverageMappingTest, skip_duplicate_function_record) {
}
// FIXME: Use ::testing::Combine() when llvm updates its copy of googletest.
-INSTANTIATE_TEST_CASE_P(ParameterizedCovMapTest, CoverageMappingTest,
- ::testing::Values(std::pair<bool, bool>({false, false}),
- std::pair<bool, bool>({false, true}),
- std::pair<bool, bool>({true, false}),
- std::pair<bool, bool>({true, true})),);
+INSTANTIATE_TEST_SUITE_P(
+ ParameterizedCovMapTest, CoverageMappingTest,
+ ::testing::Values(std::pair<bool, bool>({false, false}),
+ std::pair<bool, bool>({false, true}),
+ std::pair<bool, bool>({true, false}),
+ std::pair<bool, bool>({true, true})));
TEST(CoverageMappingTest, filename_roundtrip) {
std::vector<std::string> Paths({"dir", "a", "b", "c", "d", "e"});