Skip to content

Commit

Permalink
Maybe remove Assertions after assertThatExceptionOfType
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Aug 6, 2023
1 parent bf76c7a commit 7ba17bb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ && getCursor().getParentTreeCursor().getValue() instanceof J.Block) {
);
maybeAddImport("org.assertj.core.api.AssertionsForClassTypes", "assertThatExceptionOfType");
maybeRemoveImport("org.junit.jupiter.api.Assertions.assertThrows");
maybeRemoveImport("org.junit.jupiter.api.Assertions");
}
}
return mi;
Expand Down

0 comments on commit 7ba17bb

Please sign in to comment.