Skip to content

Commit

Permalink
Fix the names of some Truth classes. (The AssertionCallback classes…
Browse files Browse the repository at this point in the history
… were deleted so long ago that we could probably remove the references outright, so let me know if you'd prefer that.)

Startblock:
   unknown commit is submitted
PiperOrigin-RevId: 674439811
  • Loading branch information
cpovirk authored and Error Prone Team committed Sep 17, 2024
1 parent 1ff2959 commit 28ba926
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1354,12 +1354,12 @@ public static boolean isThrowingFunctionalInterface(Type clazzType, VisitorState
"org.junit.function.ThrowingRunnable",
"org.junit.jupiter.api.function.Executable",
"org.assertj.core.api.ThrowableAssert$ThrowingCallable",
"com.google.common.truth.ExpectFailure.AssertionCallback",
"com.google.common.truth.ExpectFailure.DelegatedAssertionCallback",
"com.google.common.truth.ExpectFailure.StandardSubjectBuilderCallback",
"com.google.common.truth.ExpectFailure.SimpleSubjectBuilderCallback",
"com.google.devtools.build.lib.testutil.MoreAsserts$ThrowingRunnable",
"com.google.gerrit.testing.GerritJUnit$ThrowingRunnable",
"com.google.truth.ExpectFailure.AssertionCallback",
"com.google.truth.ExpectFailure.DelegatedAssertionCallback",
"com.google.truth.ExpectFailure.StandardSubjectBuilderCallback",
"com.google.truth.ExpectFailure.SimpleSubjectBuilderCallback")
"com.google.gerrit.testing.GerritJUnit$ThrowingRunnable")
.map(state::getTypeFromString)
.filter(Objects::nonNull)
.collect(toImmutableSet()));
Expand Down

0 comments on commit 28ba926

Please sign in to comment.