[cli-repl] Support readLine() during repl session

This commit is contained in:
Dmitry Kovanikov
2015-08-31 20:18:57 +03:00
committed by Pavel V. Talanov
parent 00a117f089
commit 42c0396308
8 changed files with 132 additions and 49 deletions
@@ -83,7 +83,7 @@ public abstract class AbstractReplInterpreterTest : UsefulTestCase() {
protected fun doTest(path: String) {
val configuration = JetTestUtils.compilerConfigurationForTests(ConfigurationKind.ALL, TestJdkKind.MOCK_JDK)
val repl = ReplInterpreter(getTestRootDisposable()!!, configuration, false)
val repl = ReplInterpreter(getTestRootDisposable()!!, configuration, false, null)
for ((code, expected) in loadLines(File(path))) {
val lineResult = repl.eval(code)