Skip to content

Commit

Permalink
Fix failing rewrite tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BoykoAlex committed Nov 13, 2024
1 parent 8de092b commit ec1a884
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void listSubRecipe() throws Exception {
assertEquals(10, recipes.size());

recipes = recipeRepo.getSubRecipes("org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_1", List.of(0, 2)).get();
assertEquals(19, recipes.size());
assertEquals(20, recipes.size());

recipes = recipeRepo.getSubRecipes("org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_1",List.of(0, 345)).get();
assertEquals(0, recipes.size());
Expand Down Expand Up @@ -129,7 +129,6 @@ void createRecipeFromSelectionDescriptor() throws Exception {

assertThat(java17.getRecipeList().get(0).getName()).isEqualTo("org.openrewrite.java.migrate.Java8toJava11");
assertThat(java17.getRecipeList().get(1).getName()).isEqualTo("org.openrewrite.java.migrate.UpgradeBuildToJava17");
assertThat(java17.getRecipeList().get(2).getName()).isEqualTo("org.openrewrite.java.migrate.lang.UseTextBlocks");

}

Expand Down

0 comments on commit ec1a884

Please sign in to comment.