Fix compilation for kotlin dev_213
This commit is contained in:
parent
2c8a8cee37
commit
ac9ac6f357
@ -15,7 +15,7 @@ fun main(args: Array<String>) {
|
||||
val root = File("lib/domains")
|
||||
root.walkTopDown().forEach {
|
||||
if (it.isFile) {
|
||||
val parts = it.relativeTo(root).replace('\\', '/').removeSuffix(".txt").split('/').toList()
|
||||
val parts = it.toRelativeString(root).replace('\\', '/').removeSuffix(".txt").split('/').toList()
|
||||
if (!checkSet(CompilationState.blacklist, parts) && !checkSet(CompilationState.domains, parts)) {
|
||||
CompilationState.domains.add(parts.reversed().joinToString("."))
|
||||
}
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
package swot
|
||||
|
||||
import kotlin.test.*
|
||||
import junit.framework.*
|
||||
import junit.framework.TestCase
|
||||
|
||||
class SwotTest : TestCase() {
|
||||
fun testSwot() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user