File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
src/test/java/rife/bld/extension Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 16
16
17
17
package rife .bld .extension ;
18
18
19
+ import org .assertj .core .api .AutoCloseableSoftAssertions ;
19
20
import org .junit .jupiter .api .Test ;
20
21
import rife .bld .BaseProject ;
21
22
import rife .bld .Project ;
@@ -121,15 +122,17 @@ void checkAllParameters() throws IOException {
121
122
.verbosity ("default" )
122
123
.executeConstructProcessCommandList ();
123
124
124
- for (var p : args ) {
125
- var found = false ;
126
- for (var a : params ) {
127
- if (a .startsWith (p )) {
128
- found = true ;
129
- break ;
125
+ try (var softly = new AutoCloseableSoftAssertions ()) {
126
+ for (var p : args ) {
127
+ var found = false ;
128
+ for (var a : params ) {
129
+ if (a .startsWith (p )) {
130
+ found = true ;
131
+ break ;
132
+ }
130
133
}
134
+ softly .assertThat (found ).as (p + " not found." ).isTrue ();
131
135
}
132
- assertThat (found ).as (p + " not found." ).isTrue ();
133
136
}
134
137
}
135
138
You can’t perform that action at this time.
0 commit comments