Add test for wrapping function with default parameters

This commit is contained in:
Nikolay Krasko
2013-05-16 19:08:06 +04:00
parent cef1bb2aba
commit d97ab29588
2 changed files with 7 additions and 0 deletions
@@ -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");