Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
This commit is contained in:
Tran Ngoc Nhan
2025-05-09 15:30:00 +07:00
committed by Phillip Webb
parent 4f60b8a968
commit 1f24feafbd
5 changed files with 5 additions and 5 deletions

View File

@@ -85,7 +85,7 @@ class SystemEnvironmentConfigDataResource extends ConfigDataResource {
@Override
public String toString() {
return "system envionement variable [" + this.variableName + "] content loaded using "
return "system environment variable [" + this.variableName + "] content loaded using "
+ ClassUtils.getShortName(this.loader.getClass());
}

View File

@@ -63,7 +63,7 @@ class SystemEnvironmentConfigDataLoaderTests {
void loadWhenNoContentThrowsException() {
assertThatExceptionOfType(ConfigDataResourceNotFoundException.class)
.isThrownBy(() -> this.loader.load(this.context, createResource("VAR1")))
.withMessage("Config data resource 'system envionement variable [VAR1] content "
.withMessage("Config data resource 'system environment variable [VAR1] content "
+ "loaded using PropertiesPropertySourceLoader' cannot be found");
}

View File

@@ -73,7 +73,7 @@ class SystemEnvironmentConfigDataResourceTests {
void toStringReturnsString() {
SystemEnvironmentConfigDataResource resource = createResource("VAR1");
assertThat(resource)
.hasToString("system envionement variable [VAR1] content loaded using PropertiesPropertySourceLoader");
.hasToString("system environment variable [VAR1] content loaded using PropertiesPropertySourceLoader");
}
private SystemEnvironmentConfigDataResource createResource(String variableName) {

View File

@@ -49,7 +49,7 @@ class ReactorClientHttpRequestFactoryBuilderTests
}
@Test
void withwithHttpClientFactory() {
void withHttpClientFactory() {
boolean[] called = new boolean[1];
Supplier<HttpClient> httpClientFactory = () -> {
called[0] = true;

View File

@@ -48,7 +48,7 @@ class ReactorClientHttpConnectorBuilderTests
}
@Test
void withwithHttpClientFactory() {
void withHttpClientFactory() {
boolean[] called = new boolean[1];
Supplier<HttpClient> httpClientFactory = () -> {
called[0] = true;