Create from Usage: Add test for KT-17537

#KT-17537 Fixed
This commit is contained in:
Alexey Sedunov
2017-07-06 17:20:26 +03:00
parent 0365d3a3d6
commit e9bf1d2ab8
3 changed files with 18 additions and 0 deletions
@@ -0,0 +1,4 @@
// "Create function 'foo'" "true"
fun bar() {
if (<caret>foo()) return
}
@@ -0,0 +1,8 @@
// "Create function 'foo'" "true"
fun bar() {
if (foo()) return
}
fun foo(): Boolean {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}