|
|
|
|
@ -188,7 +188,8 @@ public class SpringApplicationTests {
@@ -188,7 +188,8 @@ public class SpringApplicationTests {
|
|
|
|
|
application.setWebEnvironment(false); |
|
|
|
|
application.run("--banner.location=classpath:test-banner-with-placeholder.txt", |
|
|
|
|
"--test.property=123456"); |
|
|
|
|
assertThat(this.output.toString(), startsWith("Running a Test!\n\n123456")); |
|
|
|
|
assertThat(this.output.toString(), |
|
|
|
|
startsWith(String.format("Running a Test!%n%n123456"))); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
|