File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
src/test/java/org/springframework/data/repository/core/support Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 3636import java .util .Set ;
3737import java .util .stream .Collectors ;
3838
39- import org .assertj .core .api .SoftAssertions ;
4039import org .junit .jupiter .api .Test ;
4140import org .reactivestreams .Publisher ;
4241
@@ -396,12 +395,8 @@ void nestedConversion() throws Exception {
396395
397396 assertThat (result ).isInstanceOfSatisfying (List .class , list -> {
398397
399- SoftAssertions .assertSoftly (s -> {
400-
401- // for making the test failure more obvious:
402- s .assertThat (list ).allMatch (it -> Integer .class .isInstance (it ));
403- s .assertThat (list ).containsExactly (0 , 1 );
404- });
398+ // for making the test failure more obvious:
399+ assertThat (list ).allMatch (Integer .class ::isInstance ).containsExactly (0 , 1 );
405400 });
406401 }
407402
You can’t perform that action at this time.
0 commit comments