Removed
Link Here
|
1 |
From c069e36605f05e8e58bf964e5ecbde04efb90a20 Mon Sep 17 00:00:00 2001 |
2 |
From: Antonio Rojas <arojas@archlinux.org> |
3 |
Date: Fri, 18 Jun 2021 18:53:46 +0200 |
4 |
Subject: [PATCH] Fix build with gtest 1.11 |
5 |
|
6 |
INSTANTIATE_TYPED_TEST_CASE_P requires a non-empty prefix now |
7 |
--- |
8 |
unitTests/test_slice.cpp | 6 +++--- |
9 |
1 file changed, 3 insertions(+), 3 deletions(-) |
10 |
|
11 |
diff --git a/unitTests/test_slice.cpp b/unitTests/test_slice.cpp |
12 |
index ccf80d98d..59171cfcf 100644 |
13 |
--- unitTests/test_slice.cpp |
14 |
+++ unitTests/test_slice.cpp |
15 |
@@ -440,12 +440,12 @@ REGISTER_TYPED_TEST_CASE_P(slice, atAccess, iteratorAccess, constructionFailsFro |
16 |
constMethodsPreserveConst); |
17 |
|
18 |
typedef ::testing::Types<const std::vector<int>, std::vector<int>, int*, const int*> test_types_t; |
19 |
-INSTANTIATE_TYPED_TEST_CASE_P(, slice, test_types_t); |
20 |
+INSTANTIATE_TYPED_TEST_CASE_P(slice, slice, test_types_t); |
21 |
|
22 |
REGISTER_TYPED_TEST_CASE_P(mutableSlice, iterators, at); |
23 |
typedef ::testing::Types<std::vector<int>, int*> mut_test_types_t; |
24 |
-INSTANTIATE_TYPED_TEST_CASE_P(, mutableSlice, mut_test_types_t); |
25 |
+INSTANTIATE_TYPED_TEST_CASE_P(slice, mutableSlice, mut_test_types_t); |
26 |
|
27 |
REGISTER_TYPED_TEST_CASE_P(dataBufSlice, successfulConstruction, failedConstruction); |
28 |
typedef ::testing::Types<DataBuf&, const DataBuf&> data_buf_types_t; |
29 |
-INSTANTIATE_TYPED_TEST_CASE_P(, dataBufSlice, data_buf_types_t); |
30 |
+INSTANTIATE_TYPED_TEST_CASE_P(slice, dataBufSlice, data_buf_types_t); |