Skip to content

Commit 7e17b15

Browse files
Abseil Teamcopybara-github
authored andcommitted
Fix the sample usage of ConvertGenerator by removing the type-id name.
PiperOrigin-RevId: 784561837 Change-Id: I6792fdde81762797c64ac24d297d93938932aef4
1 parent 309dab8 commit 7e17b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class MyParam {
203203

204204
INSTANTIATE_TEST_SUITE_P(MyInstantiation, MyTestSuite,
205205
ConvertGenerator(Combine(Values(1, 1.2), Bool()),
206-
[](const std::tuple<int i, bool>& t){
206+
[](const std::tuple<int, bool>& t){
207207
const auto [i, b] = t;
208208
return MyParam(i, b);
209209
}));

0 commit comments

Comments
 (0)