Skip to content

Commit

Permalink
Broaden Checkstyle rule for AssertJ assertion enforcement
Browse files Browse the repository at this point in the history
See gh-392
  • Loading branch information
izeye authored and wilkinsona committed Oct 13, 2023
1 parent fdc8451 commit a88d56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck">
<property name="maximum" value="0"/>
<property name="format" value="org\.junit\.Assert\.assert" />
<property name="format" value="org\.junit\.Assert|org\.junit\.jupiter\.api\.Assertions" />
<property name="message"
value="Please use AssertJ imports." />
<property name="ignoreComments" value="true" />
Expand Down

0 comments on commit a88d56d

Please sign in to comment.