We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a111cb9 commit c2b5dd1Copy full SHA for c2b5dd1
src/test/java/org/openrewrite/java/logging/log4j/Log4j1ToLog4j2Test.java
@@ -26,7 +26,7 @@
26
import java.util.regex.Matcher;
27
import java.util.regex.Pattern;
28
29
-import static org.junit.jupiter.api.Assertions.assertTrue;
+import static org.assertj.core.api.Assertions.assertThat;
30
import static org.openrewrite.java.Assertions.*;
31
import static org.openrewrite.maven.Assertions.pomXml;
32
@@ -300,7 +300,7 @@ class Test {
300
""",
301
sourceSpecs -> sourceSpecs.after(after -> {
302
Matcher matcher = Pattern.compile("<version>(2\\.2\\d\\.\\d)</version>").matcher(after);
303
- assertTrue(matcher.find());
+ assertThat(matcher.find()).isTrue();
304
String version = matcher.group(1);
305
return """
306
<project>
0 commit comments