Add tests for obsolete issues

#KT-31784 Obsolete
 #KT-31757 Obsolete
This commit is contained in:
Mikhail Zarechenskiy
2019-06-10 11:49:53 +03:00
parent 414c116d93
commit 991e60c9e4
7 changed files with 93 additions and 0 deletions
@@ -4949,6 +4949,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/kt30858.kt");
}
@TestMetadata("kt31784.kt")
public void testKt31784() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/kt31784.kt");
}
@TestMetadata("lastExpressionIsLoop.kt")
public void testLastExpressionIsLoop_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/lastExpressionIsLoop.kt", "kotlin.coroutines");
@@ -5174,6 +5174,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/kt30858.kt");
}
@TestMetadata("kt31784.kt")
public void testKt31784() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/kt31784.kt");
}
@TestMetadata("lastExpressionIsLoop.kt")
public void testLastExpressionIsLoop_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/lastExpressionIsLoop.kt", "kotlin.coroutines.experimental");