Add "Replace with 'equals(..., ignoreCase = true)'" inspection

#KT-40016 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-07-05 07:25:29 +09:00
committed by Vladimir Dolzhenko
parent a5bfa3ae63
commit d2deff4864
24 changed files with 252 additions and 0 deletions
@@ -0,0 +1,4 @@
// WITH_RUNTIME
fun test(a: String?, b: String): Boolean {
return <caret>a?.toLowerCase() == b.toLowerCase()
}