File tree Expand file tree Collapse file tree
src/test/java/org/openrewrite/java/migrate Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -548,13 +548,12 @@ void addsMapstructProcessorWhenLombokAndMapstructUsedWithoutAnnotationProcessorP
548548 </dependencies>
549549 </project>
550550 """ ,
551- spec -> spec .after (actual -> {
552- assertThat (actual )
553- .as ("mapstruct-processor is added to the annotation processor paths, matching the upgraded mapstruct version" )
554- .containsPattern (Pattern .compile ("<artifactId>mapstruct-processor</artifactId>\\ s*<version>1\\ .6\\ .\\ d+(\\ .\\ w+)?</version>" ))
555- .contains ("<artifactId>lombok-mapstruct-binding</artifactId>" );
556- return actual ;
557- })
551+ spec -> spec .after (actual ->
552+ assertThat (actual )
553+ .as ("mapstruct-processor is added to the annotation processor paths, matching the upgraded mapstruct version" )
554+ .containsPattern (Pattern .compile ("<artifactId>mapstruct-processor</artifactId>\\ s*<version>1\\ .6\\ .\\ d+(\\ .\\ w+)?</version>" ))
555+ .contains ("<artifactId>lombok-mapstruct-binding</artifactId>" )
556+ .actual ())
558557 )
559558 );
560559 }
You can’t perform that action at this time.
0 commit comments