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