Skip to content

Commit 2a66daf

Browse files
committed
Merge branch '2.1.x'
Closes gh-17019
2 parents 791be95 + d057f49 commit 2a66daf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/checkstyle/checkstyle.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
value="${main.basedir}/src/checkstyle/import-control.xml" />
2020
<property name="path" value="^.*[\\/]src[\\/]main[\\/].*$" />
2121
</module>
22+
<module name="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck">
23+
<property name="maximum" value="0"/>
24+
<property name="format" value="org\.junit\.Assert\.assert" />
25+
<property name="message"
26+
value="Please use AssertJ imports." />
27+
<property name="ignoreComments" value="true" />
28+
</module>
2229
<module
2330
name="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck">
2431
<property name="maximum" value="0" />

0 commit comments

Comments
 (0)