Add test on scripts with classpath
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user