mirror of
https://github.com/google/googletest.git
synced 2025-12-01 16:47:28 -05:00
Fix the sample usage of ConvertGenerator by removing the type-id name.
PiperOrigin-RevId: 784561837 Change-Id: I6792fdde81762797c64ac24d297d93938932aef4
This commit is contained in:
committed by
Copybara-Service
parent
309dab8d4b
commit
7e17b15f15
@@ -203,7 +203,7 @@ class MyParam {
|
|||||||
|
|
||||||
INSTANTIATE_TEST_SUITE_P(MyInstantiation, MyTestSuite,
|
INSTANTIATE_TEST_SUITE_P(MyInstantiation, MyTestSuite,
|
||||||
ConvertGenerator(Combine(Values(1, 1.2), Bool()),
|
ConvertGenerator(Combine(Values(1, 1.2), Bool()),
|
||||||
[](const std::tuple<int i, bool>& t){
|
[](const std::tuple<int, bool>& t){
|
||||||
const auto [i, b] = t;
|
const auto [i, b] = t;
|
||||||
return MyParam(i, b);
|
return MyParam(i, b);
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user