googletest icon indicating copy to clipboard operation
googletest copied to clipboard

Old issues in new repository

Open rbroggi opened this issue 4 years ago • 2 comments

Hello everyone :),

Today the following issue opened in the older gmock repository saved me several hours:

https://github.com/google/googlemock/issues/113

I would suggest to put it somewhere in this new repository so to help other people to find this very difficult to debug problem.

Thank you and have a great day.

rbroggi avatar Feb 24 '21 14:02 rbroggi

@ericschmidtatwork - Can you make sure the docs say that matchers cannot have side effects?

derekmauro avatar Mar 01 '21 20:03 derekmauro

I think the docs say so explicitly, what the docs might be missing is the kind of issues that might arise in case of matchers which have side-effects. In my case I experience a deadlock which for me was very hard to debug and reach the conclusion that indeed it derived from this explicit limitation.

rbroggi avatar Mar 01 '21 21:03 rbroggi