Handle IllegalArgumentException in trimMargin intrinsics on JVM

#KT-38537 Fixed
This commit is contained in:
Alexander Udalov
2020-05-01 12:51:46 +02:00
parent 261ed46341
commit 2793187bda
9 changed files with 51 additions and 2 deletions
@@ -15721,6 +15721,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
public void testTostring() throws Exception {
runTest("compiler/testData/codegen/box/intrinsics/tostring.kt");
}
@TestMetadata("trimMarginWithBlankString.kt")
public void testTrimMarginWithBlankString() throws Exception {
runTest("compiler/testData/codegen/box/intrinsics/trimMarginWithBlankString.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/ir")