Skip to content

Commit d5f5748

Browse files
authored
clean: Formatting and replace with text block (#813)
1 parent 7455893 commit d5f5748

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

components/sbm-recipes-boot-upgrade/src/test/java/org/springframework/sbm/boot/upgrade_24_25/recipes/Boot_24_25_UpdateDependenciesRecipeTest.java

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,21 @@ void updateWithParentPom() {
3030
// TODO: Move to a more generic Action to be reused, e.g. 'UpgradeParentVersion'
3131
String applicationDir = "spring-boot-2.4-to-2.5-example";
3232
Path from = Path.of("./testcode").resolve(applicationDir).resolve("given");
33-
RecipeIntegrationTestSupport.initializeProject(from, applicationDir)
33+
RecipeIntegrationTestSupport
34+
.initializeProject(from, applicationDir)
3435
.andApplyRecipe("boot-2.4-2.5-dependency-version-update");
3536

3637
Path resultDir = RecipeIntegrationTestSupport.getResultDir(applicationDir);
3738

3839
assertThat(contentOf(resultDir.resolve("pom.xml").toFile())).contains(
39-
" <parent>\n" +
40-
" <groupId>org.springframework.boot</groupId>\n" +
41-
" <artifactId>spring-boot-starter-parent</artifactId>\n" +
42-
" <version>2.5.6</version>\n" +
43-
" <relativePath/> <!-- lookup parent from repository -->\n" +
44-
" </parent>"
40+
"""
41+
<parent>
42+
<groupId>org.springframework.boot</groupId>
43+
<artifactId>spring-boot-starter-parent</artifactId>
44+
<version>2.5.6</version>
45+
<relativePath/> <!-- lookup parent from repository -->
46+
</parent>
47+
"""
4548
);
4649
}
4750
}

0 commit comments

Comments
 (0)