Skip to content

Commit

Permalink
Add "value of: method()" to Expect, to match Assert
Browse files Browse the repository at this point in the history
RELNOTES=Add "value of: method()" to Expect, to match Assert
PiperOrigin-RevId: 488384877
  • Loading branch information
java-team-github-bot authored and Google Java Core Libraries committed Nov 14, 2022
1 parent 9971b0d commit bd8efd0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,8 @@ private static boolean isThatOrAssertThat(String owner, String name) {
*/
return (owner.equals("com/google/common/truth/Truth") && name.equals("assertThat"))
|| (owner.equals("com/google/common/truth/StandardSubjectBuilder") && name.equals("that"))
|| (owner.equals("com/google/common/truth/SimpleSubjectBuilder") && name.equals("that"));
|| (owner.equals("com/google/common/truth/SimpleSubjectBuilder") && name.equals("that"))
|| (owner.equals("com/google/common/truth/Expect") && name.equals("that"));
}

private static boolean isBoxing(String owner, String name, String desc) {
Expand Down

0 comments on commit bd8efd0

Please sign in to comment.