Validate "-jvm-target" value in CLI, improve message
This commit is contained in:
@@ -289,6 +289,12 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
doJvmTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("wrongJvmTargetVersion.args")
|
||||
public void testWrongJvmTargetVersion() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/cli/jvm/wrongJvmTargetVersion.args");
|
||||
doJvmTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("wrongScriptWithNoSource.args")
|
||||
public void testWrongScriptWithNoSource() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/cli/jvm/wrongScriptWithNoSource.args");
|
||||
|
||||
Reference in New Issue
Block a user