Add test on scripts with classpath

This commit is contained in:
Alexander Udalov
2015-03-11 18:04:30 +03:00
parent efae5c05a1
commit 11b693c3be
3 changed files with 12 additions and 0 deletions
@@ -109,4 +109,9 @@ public class CompilerSmokeTest extends KotlinIntegrationTestBase {
public void simpleScript() throws Exception {
runCompiler("script", "-script", "script.kts", "hi", "there");
}
@Test
public void scriptWithClasspath() throws Exception {
runCompiler("script", "-cp", new File("lib/javax.inject.jar").getAbsolutePath(), "-script", "script.kts");
}
}