Commit 85d2f295 authored by Phillip Webb's avatar Phillip Webb

Use RegEx for test to make Windows happy

parent 21bc166c
...@@ -194,8 +194,7 @@ public class SpringApplicationTests { ...@@ -194,8 +194,7 @@ public class SpringApplicationTests {
this.context = application.run( this.context = application.run(
"--banner.location=classpath:test-banner-with-placeholder.txt", "--banner.location=classpath:test-banner-with-placeholder.txt",
"--test.property=123456"); "--test.property=123456");
assertThat(this.output.toString()) assertThat(this.output.toString()).containsPattern("Running a Test!\\s+123456");
.startsWith(String.format("Running a Test!%n%n123456"));
} }
@Test @Test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment