Scope function conversion: remove 'can' from description to fix tests

This commit is contained in:
Mikhail Glukhikh
2018-02-28 14:30:32 +03:00
parent d06f23f2ba
commit 0f029d8f51
@@ -55,7 +55,7 @@ class ScopeFunctionConversionInspection : AbstractKotlinInspection() {
if (counterpartName != null) {
holder.registerProblem(
expression.calleeExpression!!,
"Call can be replaced with another scope function",
"Call is replaceable with another scope function",
ProblemHighlightType.GENERIC_ERROR_OR_WARNING,
if (counterpartName == "also" || counterpartName == "let")
ConvertScopeFunctionToParameter(counterpartName)