File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/java/org/gradlex/javamodule/testing/internal/provider Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 29
29
import java .util .ArrayList ;
30
30
import java .util .List ;
31
31
import java .util .Set ;
32
+ import java .util .stream .Collectors ;
32
33
33
34
public class WhiteboxTestCompileArgumentProvider implements CommandLineArgumentProvider {
34
35
private final Set <File > mainSourceFolders ;
@@ -56,7 +57,8 @@ public void testRequires(List<String> testRequires) {
56
57
@ Override
57
58
public Iterable <String > asArguments () {
58
59
String moduleName = moduleInfoParser .moduleName (mainSourceFolders );
59
- String testSources = testSourceFolders .iterator ().next ().getPath ();
60
+ String testSources = testSourceFolders .stream ().map (File ::getPath )
61
+ .collect (Collectors .joining (File .pathSeparator ));
60
62
61
63
List <String > args = new ArrayList <>();
62
64
You can’t perform that action at this time.
0 commit comments