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,6 @@
// WITH_RUNTIME
fun test(a: String?, b: String): String {
val x = if (true) a else b
<caret>if (x == null) throw Exception()
return x
}