Skip to content

Commit affabc8

Browse files
committed
Fix some failing tests
`StaticImports` must come after `JUnit4to5Migration`, as the latter could rewrite some `Assert` calls to use `Assertions`. See: openrewrite/rewrite#3921
1 parent 249d6d9 commit affabc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/META-INF/rewrite/junit5.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ tags:
2222
- testing
2323
- junit
2424
recipeList:
25-
- org.openrewrite.java.testing.junit5.StaticImports
2625
- org.openrewrite.java.testing.junit5.JUnit4to5Migration
26+
- org.openrewrite.java.testing.junit5.StaticImports
2727
- org.openrewrite.java.testing.junit5.CleanupAssertions
2828
- org.openrewrite.java.testing.cleanup.RemoveTestPrefix
2929
- org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic

0 commit comments

Comments
 (0)