File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
processor/src/test/java/org/mapstruct/ap/testutil/runner Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5555import org .xml .sax .InputSource ;
5656
5757import static org .assertj .core .api .Assertions .assertThat ;
58+ import static org .assertj .core .api .Assertions .fail ;
5859import static org .junit .platform .commons .support .AnnotationSupport .findAnnotation ;
5960import static org .junit .platform .commons .support .AnnotationSupport .findRepeatableAnnotations ;
6061
@@ -237,8 +238,7 @@ private void assertCheckstyleRules() throws Exception {
237238 int errors = checker .process ( findGeneratedFiles ( new File ( sourceOutputDir ) ) );
238239 if ( errors > 0 ) {
239240 String errorLog = errorStream .toString ( "UTF-8" );
240- assertThat ( true ).describedAs ( "Expected checkstyle compliant output, but got errors:\n " + errorLog )
241- .isEqualTo ( false );
241+ fail ( "Expected checkstyle compliant output, but got errors:\n " + errorLog );
242242 }
243243 }
244244 }
You can’t perform that action at this time.
0 commit comments