script parameters
still a lot of things to do
This commit is contained in:
@@ -1 +1,3 @@
|
||||
println("hello world")
|
||||
for (arg in args) {
|
||||
println(arg)
|
||||
}
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
OUT hello world
|
||||
OUT hi
|
||||
OUT there
|
||||
Return code: 0
|
||||
|
||||
@@ -53,6 +53,6 @@ public class CompilerSmokeTest extends KotlinIntegrationTestBase {
|
||||
|
||||
@Test
|
||||
public void script() throws Exception {
|
||||
runCompiler("script", "-script", "hello.ktscript");
|
||||
runCompiler("script", "-script", "hello.ktscript", "hi", "there");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user