Skip to content

Commit 0b5bb6e

Browse files
committed
Merge pull request #17002 from Johnny Lim
* gh-17002: Add a missing @test in JavaBeanBinderTests Closes gh-17002
2 parents 6b199c8 + 765b66c commit 0b5bb6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/JavaBeanBinderTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ public void bindToClassShouldCacheWithGenerics() {
511511
assertThat(bean.getBooleans().get("b").getValue()).isEqualTo(true);
512512
}
513513

514+
@Test
514515
public void bindToClassWithOverloadedSetterShouldUseSetterThatMatchesField() {
515516
// gh-16206
516517
MockConfigurationPropertySource source = new MockConfigurationPropertySource();
@@ -522,9 +523,8 @@ public void bindToClassWithOverloadedSetterShouldUseSetterThatMatchesField() {
522523
}
523524

524525
@Test
525-
public void beanProperiesPreferMatchingType() {
526+
public void beanPropertiesPreferMatchingType() {
526527
// gh-16206
527-
528528
ResolvableType type = ResolvableType.forClass(PropertyWithOverloadedSetter.class);
529529
Bean<PropertyWithOverloadedSetter> bean = new Bean<PropertyWithOverloadedSetter>(
530530
type, type.resolve()) {

0 commit comments

Comments
 (0)