Merge previously split strings

Merge some string lines that were previously split because of the
90 chars wide formatting.
This commit is contained in:
Phillip Webb
2019-07-14 19:39:18 +01:00
parent c3816bfe7b
commit 01933f9b06
173 changed files with 351 additions and 370 deletions

View File

@@ -178,7 +178,7 @@ class ApplicationContextAssertProviderTests {
void toStringWhenContextFailsToStartShouldReturnSimpleString() {
ApplicationContextAssertProvider<ApplicationContext> context = get(this.startupFailureSupplier);
assertThat(context.toString()).isEqualTo("Unstarted application context "
+ "org.springframework.context.ApplicationContext" + "[startupFailure=java.lang.RuntimeException]");
+ "org.springframework.context.ApplicationContext[startupFailure=java.lang.RuntimeException]");
}
@Test

View File

@@ -42,7 +42,7 @@ class SpringBootTestContextBootstrapperTests {
.isThrownBy(() -> buildTestContext(SpringBootTestNonMockWebEnvironmentAndWebAppConfiguration.class))
.withMessageContaining("@WebAppConfiguration should only be used with "
+ "@SpringBootTest when @SpringBootTest is configured with a mock web "
+ "environment. Please remove @WebAppConfiguration or reconfigure " + "@SpringBootTest.");
+ "environment. Please remove @WebAppConfiguration or reconfigure @SpringBootTest.");
}
@Test

View File

@@ -49,7 +49,7 @@ class MockitoPostProcessorTests {
context.register(MultipleBeans.class);
assertThatIllegalStateException().isThrownBy(context::refresh)
.withMessageContaining("Unable to register mock bean " + ExampleService.class.getName()
+ " expected a single matching bean to replace " + "but found [example1, example2]");
+ " expected a single matching bean to replace but found [example1, example2]");
}
@Test
@@ -59,7 +59,7 @@ class MockitoPostProcessorTests {
context.register(MultipleQualifiedBeans.class);
assertThatIllegalStateException().isThrownBy(context::refresh)
.withMessageContaining("Unable to register mock bean " + ExampleService.class.getName()
+ " expected a single matching bean to replace " + "but found [example1, example3]");
+ " expected a single matching bean to replace but found [example1, example3]");
}
@Test