Skip to content

Commit 9cfd5f6

Browse files
committed
test: trim lines rendered by freemarker
1 parent 5b12464 commit 9cfd5f6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

components/sbm-recipes-boot-upgrade/src/main/resources/recipes/boot-new-report.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@
8181
The scan found properties with `spring.data` prefix but no dependency matching `org.springframework.data:.*`.
8282
8383
<#list matches as match>
84-
* file://${match.absolutePath}[`${match.relativePath}`]
84+
* file://${match.absolutePath}[`${match.relativePath}`]<#lt>
8585
<#list match.propertiesFound as property>
86-
** `${property}`
86+
** `${property}`<#lt>
8787
</#list>
8888
</#list>
8989

components/sbm-recipes-boot-upgrade/src/test/java/org/springframework/sbm/boot/upgrade_27_30/report/ChangesToDataPropertiesReportTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ void changesToDataPropertiesSection_renders() {
5454
==== Why is the application affected
5555
The scan found properties with `spring.data` prefix but no dependency matching `org.springframework.data:.*`.
5656
57-
* file://<PATH>/src/main/resources/application.properties[`src/main/resources/application.properties`]
58-
** `spring.data.foo`
59-
* file://<PATH>/src/main/resources/application-another.properties[`src/main/resources/application-another.properties`]
60-
** `spring.data.here`
57+
* file://<PATH>/src/main/resources/application.properties[`src/main/resources/application.properties`]
58+
** `spring.data.foo`
59+
* file://<PATH>/src/main/resources/application-another.properties[`src/main/resources/application-another.properties`]
60+
** `spring.data.here`
6161
6262
==== Remediation
6363
Either add `spring-data` dependency, rename the property or remove it in case it's not required anymore.

0 commit comments

Comments
 (0)