fix tests
This commit is contained in:
committed by
Evgeny Gerashchenko
parent
8839630ef7
commit
1f3aa6699c
@@ -132,8 +132,13 @@ public class CliTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void printArguments() {
|
public void printArguments() {
|
||||||
System.setProperty("kotlin.print.cmd.args", "true");
|
try {
|
||||||
executeCompilerCompareOutput(new String[] {"-script", "compiler/testData/cli/hello.ktscript"});
|
System.setProperty("kotlin.print.cmd.args", "true");
|
||||||
|
executeCompilerCompareOutput(new String[] {"-script", "compiler/testData/cli/hello.ktscript"});
|
||||||
|
}
|
||||||
|
finally {
|
||||||
|
System.clearProperty("kotlin.print.cmd.args");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user