Add test for wrapping function without body
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package some
|
||||
|
||||
open class Hello {
|
||||
open fun <caret>hello() = "DoSomething"
|
||||
}
|
||||
@@ -51,6 +51,10 @@ public class JetJavaFacadeTest extends LightCodeInsightFixtureTestCase {
|
||||
doTestWrapMethod(false);
|
||||
}
|
||||
|
||||
public void testWrapFunInClassWithoutBody() {
|
||||
doTestWrapMethod(true);
|
||||
}
|
||||
|
||||
public void testWrapFunInClassObject() {
|
||||
doTestWrapMethod(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user