Browse Source

Fix typo

See gh-49635

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
pull/49635/head
Yanming Zhou 1 week ago committed by Stéphane Nicoll
parent
commit
4418c451f3
  1. 6
      core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java

6
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java

@ -211,8 +211,8 @@ class ValueObjectBinderTests { @@ -211,8 +211,8 @@ class ValueObjectBinderTests {
MockConfigurationPropertySource source = new MockConfigurationPropertySource();
source.put("foo", "");
this.sources.add(source);
EmptyRecod emptyRecod = this.binder.bind("foo", Bindable.of(EmptyRecod.class)).get();
assertThat(emptyRecod).isNotNull();
EmptyRecord emptyRecord = this.binder.bind("foo", Bindable.of(EmptyRecord.class)).get();
assertThat(emptyRecord).isNotNull();
}
@Test
@ -1008,7 +1008,7 @@ class ValueObjectBinderTests { @@ -1008,7 +1008,7 @@ class ValueObjectBinderTests {
}
record EmptyRecod() {
record EmptyRecord() {
}

Loading…
Cancel
Save