Merge pull request #444 from wind57/fix_junit_asserj_checkstyle

fix checkstyle junit vs assertj
This commit is contained in:
Ryan Baxter
2025-04-10 08:23:21 -04:00
committed by GitHub

View File

@@ -167,7 +167,7 @@
<module name="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck">
<property name="maximum" value="0"/>
<property name="format"
value="org\.junit\.(Assert|jupiter\.api\.Assertions)\.assert"/>
value="org\.junit\.(Assert|jupiter\.api\.Assertions)"/>
<property name="message"
value="Please use AssertJ imports."/>
<property name="ignoreComments" value="true"/>