Skip to content

Commit

Permalink
Explicitly remove org.junit.jupiter.api.Assertions.fail import
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed May 1, 2024
1 parent cf80960 commit 0f7fc95
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ public J.MethodInvocation visitMethodInvocation(J.MethodInvocation method, Execu
);
//Make sure there is a static import for "org.assertj.core.api.Assertions.assertThat" (even if not referenced)
maybeAddImport("org.assertj.core.api.Assertions", "fail", false);
maybeRemoveImport("org.junit.jupiter.api.Assertions.fail");
return super.visitMethodInvocation(method, ctx);
}
}
Expand Down

0 comments on commit 0f7fc95

Please sign in to comment.