Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gtest_unittest: Call FAIL() in lambda, fix incorrect fatality expecta…
…tion FAIL() evaluates into a return statement: https://github.com/google/googletest/blob/5b909beeec178f338be997830b6c31a80cda7a93/googletest/include/gtest/internal/gtest-internal.h#L1347 Calling it from the body of the test case turns all subsequent expectations into no-ops. Fixes #3941 PiperOrigin-RevId: 466104977 Change-Id: Ic15f43acb734295a5c9690a2b5eec6f65e8c0814
- Loading branch information