Rename ALLOW_HEADER_WITHOUT_IMPLS to ALLOW_EXPECT_WITHOUT_ACTUAL

This commit is contained in:
Stanislav Erokhin
2017-09-15 14:48:07 +03:00
parent bba2d27e82
commit 7849452b66
@@ -247,7 +247,7 @@ class ConvertMemberToExtensionIntention : SelfTargetingRangeIntention<KtCallable
private fun askIfExpectedIsAllowed(file: KtFile): Boolean {
if (ApplicationManager.getApplication().isUnitTestMode) {
return file.allChildren.any { it is PsiComment && it.text.trim() == "// ALLOW_HEADER_WITHOUT_IMPLS" }
return file.allChildren.any { it is PsiComment && it.text.trim() == "// ALLOW_EXPECT_WITHOUT_ACTUAL" }
}
return Messages.showYesNoDialog(