test imports work in the following lines of REPL
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
>>> import java.io.ByteArrayOutputStream
|
||||||
|
null
|
||||||
|
>>> val s = ByteArrayOutputStream()
|
||||||
|
null
|
||||||
|
>>> s.getClass()!!.getName()
|
||||||
|
java.io.ByteArrayOutputStream
|
||||||
@@ -97,5 +97,10 @@ public class ReplInterpreterTest {
|
|||||||
testFile("empty.repl");
|
testFile("empty.repl");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void imports() {
|
||||||
|
testFile("imports.repl");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user