Allow dirs as content root in modularized tests
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ abstract class AbstractModularizedTest : KtUsefulTestCase() {
|
||||
|
||||
configuration.addAll(
|
||||
CLIConfigurationKeys.CONTENT_ROOTS,
|
||||
moduleData.sources.filter { it.extension == "kt" }.map { KotlinSourceRoot(it.absolutePath, false) })
|
||||
moduleData.sources.filter { it.extension == "kt" || it.isDirectory }.map { KotlinSourceRoot(it.absolutePath, false) })
|
||||
return configuration
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user