refs #36 imports refined and optimized, circular imports are supported.
This commit is contained in:
1 parent
1e2cb5e420
commit
ef6bc5c468
9 files changed
+227
-165
No files matched your search
@@ -1,6 +1,9 @@
|
||||
import junit.framework.TestCase.assertEquals
|
||||
import kotlinx.coroutines.runBlocking
|
||||
import net.sergeych.lyng.*
|
||||
import net.sergeych.lyng.ModuleScope
|
||||
import net.sergeych.lyng.Source
|
||||
import net.sergeych.lyng.pacman.InlineSourcesImportProvider
|
||||
import net.sergeych.lyng.toSource
|
||||
import kotlin.test.Test
|
||||
|
||||
class OtherTests {
|
||||
@@ -18,8 +21,8 @@ class OtherTests {
|
||||
|
||||
fun bar() { "bar1" }
|
||||
""".trimIndent()
|
||||
val pm = InlineSourcesPacman(
|
||||
Pacman.emptyAllowAll, listOf(
|
||||
val pm = InlineSourcesImportProvider(
|
||||
listOf(
|
||||
Source("foosrc", foosrc),
|
||||
Source("barsrc", barsrc),
|
||||
))
|
||||
|
||||
Reference in new issue
Block a user