You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, maybe we should do so more aggressively? (I had to add a lot of foos and bazzes to get the diff to trigger.)
Additionally, we could consider diff_match_patch for its ability to generate inline diffs, rather than only the line-by-line diffs that we currently support.
Are you interested more in generating line-by-line diffs more of the time or in generating inline diffs?
Add an implementation of
StringSubject.isEqualTo(String expected)
which will do diffing in the error message if the strings are not equal.https://truth.dev/api/1.0/com/google/common/truth/StringSubject.html
The text was updated successfully, but these errors were encountered: