Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate off failWithRawMessageAndCause, which is being deprecated.
I'm sorry that the replacement is so ugly. Our reason for not supporting this directly is partially that it's needed by only ~1% of subjects. But mostly, we've over time taken the position that Truth is intended for only the "assert" phases of the "arrange, act, assert" testing process. Exceptions, on the other hand, usually come from the earlier phases. Unfortunately, I still owe everyone a long explanation of *why* we have come to this position. If it's bugging you now, let me know, and I can make it happen. (And yes, in this particular case, we're basically arguing that Your Subject Is Wrong. Sorry: I'm not trying to get you to delete it or recant or anything; I'm just trying to explain where we're coming from.) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=192278109
- Loading branch information