diff --git a/spring-boot-actuator/src/test/resources/actuator-docs-index.html b/spring-boot-actuator/src/test/resources/actuator-docs-index.html
index e69de29bb2..8b13789179 100644
--- a/spring-boot-actuator/src/test/resources/actuator-docs-index.html
+++ b/spring-boot-actuator/src/test/resources/actuator-docs-index.html
@@ -0,0 +1 @@
+
diff --git a/spring-boot-actuator/src/test/resources/cache/test-ehcache.xml b/spring-boot-actuator/src/test/resources/cache/test-ehcache.xml
index 9a50bbab4b..a2ceaeb47c 100644
--- a/spring-boot-actuator/src/test/resources/cache/test-ehcache.xml
+++ b/spring-boot-actuator/src/test/resources/cache/test-ehcache.xml
@@ -7,4 +7,4 @@
-
\ No newline at end of file
+
diff --git a/spring-boot-actuator/src/test/resources/db/migration/V1__init.sql b/spring-boot-actuator/src/test/resources/db/migration/V1__init.sql
index e69de29bb2..8b13789179 100644
--- a/spring-boot-actuator/src/test/resources/db/migration/V1__init.sql
+++ b/spring-boot-actuator/src/test/resources/db/migration/V1__init.sql
@@ -0,0 +1 @@
+
diff --git a/spring-boot-actuator/src/test/resources/logback.xml b/spring-boot-actuator/src/test/resources/logback.xml
index ee10b29b61..f6d7406e0c 100644
--- a/spring-boot-actuator/src/test/resources/logback.xml
+++ b/spring-boot-actuator/src/test/resources/logback.xml
@@ -5,4 +5,4 @@
-
\ No newline at end of file
+
diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfigurationTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfigurationTests.java
index 136612d62f..d1ab7f8e0d 100644
--- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfigurationTests.java
+++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfigurationTests.java
@@ -172,7 +172,7 @@ public class ThymeleafAutoConfigurationTests {
this.context.refresh();
TemplateEngine engine = this.context.getBean(TemplateEngine.class);
Context attrs = new Context(Locale.UK, Collections.singletonMap("foo", "bar"));
- String result = engine.process("data-dialect", attrs);
+ String result = engine.process("data-dialect", attrs).trim();
assertThat(result).isEqualTo("
");
}
@@ -183,7 +183,7 @@ public class ThymeleafAutoConfigurationTests {
this.context.refresh();
TemplateEngine engine = this.context.getBean(TemplateEngine.class);
Context attrs = new Context(Locale.UK);
- String result = engine.process("java8time-dialect", attrs);
+ String result = engine.process("java8time-dialect", attrs).trim();
assertThat(result).isEqualTo("2015-11-24");
}
@@ -194,7 +194,7 @@ public class ThymeleafAutoConfigurationTests {
this.context.refresh();
TemplateEngine engine = this.context.getBean(TemplateEngine.class);
Context attrs = new Context(Locale.UK, Collections.singletonMap("foo", "bar"));
- String result = engine.process("home", attrs);
+ String result = engine.process("home", attrs).trim();
assertThat(result).isEqualTo("bar");
}
diff --git a/spring-boot-autoconfigure/src/test/resources/city.sql b/spring-boot-autoconfigure/src/test/resources/city.sql
index bb2a2eeac2..a31da42dc3 100644
--- a/spring-boot-autoconfigure/src/test/resources/city.sql
+++ b/spring-boot-autoconfigure/src/test/resources/city.sql
@@ -1 +1 @@
-INSERT INTO CITY (NAME, STATE, COUNTRY, MAP) values ('Washington', 'DC', 'US', 'Google');
\ No newline at end of file
+INSERT INTO CITY (NAME, STATE, COUNTRY, MAP) values ('Washington', 'DC', 'US', 'Google');
diff --git a/spring-boot-autoconfigure/src/test/resources/custom-schema.ldif b/spring-boot-autoconfigure/src/test/resources/custom-schema.ldif
index a561a201cb..2bb925dd6d 100644
--- a/spring-boot-autoconfigure/src/test/resources/custom-schema.ldif
+++ b/spring-boot-autoconfigure/src/test/resources/custom-schema.ldif
@@ -14,4 +14,4 @@ objectClasses: ( 1.3.6.1.4.1.32473.1.2.2
SUP top
AUXILIARY
MAY exampleAttributeName
- X-ORIGIN 'Managing Schema Document' )
\ No newline at end of file
+ X-ORIGIN 'Managing Schema Document' )
diff --git a/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.ftl b/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.ftl
index 8f4052a5c9..0d82d79c85 100644
--- a/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.ftl
+++ b/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.ftl
@@ -1 +1 @@
-custom
\ No newline at end of file
+custom
diff --git a/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.html b/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.html
index e69de29bb2..8b13789179 100644
--- a/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.html
+++ b/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.html
@@ -0,0 +1 @@
+
diff --git a/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.jsp b/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.jsp
index e69de29bb2..8b13789179 100755
--- a/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.jsp
+++ b/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.jsp
@@ -0,0 +1 @@
+
diff --git a/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.tpl b/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.tpl
index 06b9992513..cd07d3d3c6 100644
--- a/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.tpl
+++ b/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.tpl
@@ -1 +1 @@
-yield "custom"
\ No newline at end of file
+yield "custom"
diff --git a/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.vm b/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.vm
index 8f4052a5c9..0d82d79c85 100644
--- a/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.vm
+++ b/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.vm
@@ -1 +1 @@
-custom
\ No newline at end of file
+custom
diff --git a/spring-boot-autoconfigure/src/test/resources/custom-templates/suffixed.jsp b/spring-boot-autoconfigure/src/test/resources/custom-templates/suffixed.jsp
index e69de29bb2..8b13789179 100755
--- a/spring-boot-autoconfigure/src/test/resources/custom-templates/suffixed.jsp
+++ b/spring-boot-autoconfigure/src/test/resources/custom-templates/suffixed.jsp
@@ -0,0 +1 @@
+
diff --git a/spring-boot-autoconfigure/src/test/resources/data.sql b/spring-boot-autoconfigure/src/test/resources/data.sql
index 0d31554b97..487614d440 100644
--- a/spring-boot-autoconfigure/src/test/resources/data.sql
+++ b/spring-boot-autoconfigure/src/test/resources/data.sql
@@ -1 +1 @@
-INSERT INTO BAR VALUES (1, 'Andy');
\ No newline at end of file
+INSERT INTO BAR VALUES (1, 'Andy');
diff --git a/spring-boot-autoconfigure/src/test/resources/db/city/V1__init.sql b/spring-boot-autoconfigure/src/test/resources/db/city/V1__init.sql
index 3f9f9d079f..8439c925c4 100644
--- a/spring-boot-autoconfigure/src/test/resources/db/city/V1__init.sql
+++ b/spring-boot-autoconfigure/src/test/resources/db/city/V1__init.sql
@@ -4,4 +4,4 @@ CREATE TABLE CITY (
state VARCHAR(30),
country VARCHAR(30),
map VARCHAR(30)
-);
\ No newline at end of file
+);
diff --git a/spring-boot-autoconfigure/src/test/resources/db/migration/V1__init.sql b/spring-boot-autoconfigure/src/test/resources/db/migration/V1__init.sql
index e69de29bb2..8b13789179 100644
--- a/spring-boot-autoconfigure/src/test/resources/db/migration/V1__init.sql
+++ b/spring-boot-autoconfigure/src/test/resources/db/migration/V1__init.sql
@@ -0,0 +1 @@
+
diff --git a/spring-boot-autoconfigure/src/test/resources/db/vendors/h2/V1__init.sql b/spring-boot-autoconfigure/src/test/resources/db/vendors/h2/V1__init.sql
index e69de29bb2..8b13789179 100644
--- a/spring-boot-autoconfigure/src/test/resources/db/vendors/h2/V1__init.sql
+++ b/spring-boot-autoconfigure/src/test/resources/db/vendors/h2/V1__init.sql
@@ -0,0 +1 @@
+
diff --git a/spring-boot-autoconfigure/src/test/resources/ehcache3.xml b/spring-boot-autoconfigure/src/test/resources/ehcache3.xml
index 73d27c811d..575fd7cdbb 100644
--- a/spring-boot-autoconfigure/src/test/resources/ehcache3.xml
+++ b/spring-boot-autoconfigure/src/test/resources/ehcache3.xml
@@ -23,4 +23,4 @@
-
\ No newline at end of file
+
diff --git a/spring-boot-autoconfigure/src/test/resources/logback-test.xml b/spring-boot-autoconfigure/src/test/resources/logback-test.xml
index ee27473400..b8a41480d7 100644
--- a/spring-boot-autoconfigure/src/test/resources/logback-test.xml
+++ b/spring-boot-autoconfigure/src/test/resources/logback-test.xml
@@ -1,4 +1,4 @@
-
\ No newline at end of file
+
diff --git a/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo.html b/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo.html
index 18624afa99..fa22264e23 100644
--- a/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo.html
+++ b/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo.html
@@ -1 +1 @@
-Hello {{World}}
\ No newline at end of file
+Hello {{World}}
diff --git a/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo_de.html b/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo_de.html
index e69de29bb2..8b13789179 100644
--- a/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo_de.html
+++ b/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo_de.html
@@ -0,0 +1 @@
+
diff --git a/spring-boot-autoconfigure/src/test/resources/mustache-templates/home.html b/spring-boot-autoconfigure/src/test/resources/mustache-templates/home.html
index 0e134df2ec..a13594e5ad 100644
--- a/spring-boot-autoconfigure/src/test/resources/mustache-templates/home.html
+++ b/spring-boot-autoconfigure/src/test/resources/mustache-templates/home.html
@@ -6,4 +6,4 @@
A Message
{{message}} at {{time}}