Add test for wrapping function with default parameters
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
fun test(some: Int = 12) {
|
||||
println(some)
|
||||
}
|
||||
@@ -95,6 +95,10 @@ public class JetJavaFacadeTest extends LightCodeInsightFixtureTestCase {
|
||||
doTestWrapClass();
|
||||
}
|
||||
|
||||
public void testWrapTopLevelFunWithDefaultParams() {
|
||||
doTestWrapMethod(true);
|
||||
}
|
||||
|
||||
public void testEa38770() {
|
||||
myFixture.configureByFile(getTestName(true) + ".kt");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user