[NI] Added test for controversial common system

See KT-23854
This commit is contained in:
Mikhail Zarechenskiy
2019-03-01 12:44:56 +03:00
parent 5927032143
commit 43cf6623f9
4 changed files with 63 additions and 0 deletions
@@ -9853,6 +9853,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/inference/commonSystem/nestedLambdas.kt");
}
@TestMetadata("selectFromTwoIncompatibleTypes.kt")
public void testSelectFromTwoIncompatibleTypes() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/commonSystem/selectFromTwoIncompatibleTypes.kt");
}
@TestMetadata("theSameFunctionInArgs.kt")
public void testTheSameFunctionInArgs() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/commonSystem/theSameFunctionInArgs.kt");
@@ -9848,6 +9848,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/inference/commonSystem/nestedLambdas.kt");
}
@TestMetadata("selectFromTwoIncompatibleTypes.kt")
public void testSelectFromTwoIncompatibleTypes() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/commonSystem/selectFromTwoIncompatibleTypes.kt");
}
@TestMetadata("theSameFunctionInArgs.kt")
public void testTheSameFunctionInArgs() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/commonSystem/theSameFunctionInArgs.kt");