forked from kyfx/googletest
Fix the sample usage of `ConvertGenerator` by removing the type-id name.
PiperOrigin-RevId: 784561837 Change-Id: I6792fdde81762797c64ac24d297d93938932aef4
This commit is contained in:
parent
309dab8d4b
commit
7e17b15f15
|
@ -203,7 +203,7 @@ class MyParam {
|
|||
|
||||
INSTANTIATE_TEST_SUITE_P(MyInstantiation, MyTestSuite,
|
||||
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;
|
||||
return MyParam(i, b);
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue