From c069e36605f05e8e58bf964e5ecbde04efb90a20 Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Fri, 18 Jun 2021 18:53:46 +0200 Subject: [PATCH] Fix build with gtest 1.11 INSTANTIATE_TYPED_TEST_CASE_P requires a non-empty prefix now --- unitTests/test_slice.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unitTests/test_slice.cpp b/unitTests/test_slice.cpp index ccf80d98db..59171cfcfd 100644 --- a/unitTests/test_slice.cpp +++ b/unitTests/test_slice.cpp @@ -440,12 +440,12 @@ REGISTER_TYPED_TEST_CASE_P(slice, atAccess, iteratorAccess, constructionFailsFro constMethodsPreserveConst); typedef ::testing::Types, std::vector, int*, const int*> test_types_t; -INSTANTIATE_TYPED_TEST_CASE_P(, slice, test_types_t); +INSTANTIATE_TYPED_TEST_CASE_P(slice, slice, test_types_t); REGISTER_TYPED_TEST_CASE_P(mutableSlice, iterators, at); typedef ::testing::Types, int*> mut_test_types_t; -INSTANTIATE_TYPED_TEST_CASE_P(, mutableSlice, mut_test_types_t); +INSTANTIATE_TYPED_TEST_CASE_P(slice, mutableSlice, mut_test_types_t); REGISTER_TYPED_TEST_CASE_P(dataBufSlice, successfulConstruction, failedConstruction); typedef ::testing::Types data_buf_types_t; -INSTANTIATE_TYPED_TEST_CASE_P(, dataBufSlice, data_buf_types_t); +INSTANTIATE_TYPED_TEST_CASE_P(slice, dataBufSlice, data_buf_types_t);