mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 17:59:03 +00:00
Merge pull request #49156 from quaff
* pr/49156: Remove redundant assertion Closes gh-49156
This commit is contained in:
+1
-1
@@ -342,7 +342,7 @@ class ValueObjectBinderTests {
|
||||
RecordPropertiesWithOptionalInNestedRecord bound = this.binder.bindOrCreate("foo",
|
||||
Bindable.of(RecordPropertiesWithOptionalInNestedRecord.class));
|
||||
assertThat(bound.nested()).isNotNull();
|
||||
assertThat(bound.nested().property1()).isNotNull().isEmpty();
|
||||
assertThat(bound.nested().property1()).isEmpty();
|
||||
assertThat(bound.nested().property2()).isEqualTo("str");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user