File tree 1 file changed +2
-7
lines changed
src/test/java/org/springframework/data/repository/core/support
1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 36
36
import java .util .Set ;
37
37
import java .util .stream .Collectors ;
38
38
39
- import org .assertj .core .api .SoftAssertions ;
40
39
import org .junit .jupiter .api .Test ;
41
40
import org .reactivestreams .Publisher ;
42
41
@@ -396,12 +395,8 @@ void nestedConversion() throws Exception {
396
395
397
396
assertThat (result ).isInstanceOfSatisfying (List .class , list -> {
398
397
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 );
405
400
});
406
401
}
407
402
You can’t perform that action at this time.
0 commit comments