Rename: intention tests "ifNullToElvis" --> "foldInitializerAndIfToElvis"

This commit is contained in:
Mikhail Glukhikh
2016-10-11 15:08:38 +03:00
parent 0903402282
commit c6fefbc223
31 changed files with 21 additions and 21 deletions
@@ -0,0 +1,5 @@
fun foo(p: List<String?>): Int {
val v = p[0] ?: // return -1 if null
<caret>return -1
return v.length
}