Minor: add intention name to test failure

This commit is contained in:
Nikolay Krasko
2019-09-16 20:17:19 +03:00
parent fabd336856
commit 9f81de293f
@@ -179,7 +179,7 @@ abstract class AbstractQuickFixTest : KotlinLightCodeInsightFixtureTestCase(), Q
val intentionClassName = unwrappedIntention.javaClass.name
if (!quickFixesAllowedToResolveInWriteAction.isWriteActionAllowed(intentionClassName)) {
throw ResolveInWriteActionException()
throw ResolveInWriteActionException("Resolve is not allowed under the write action for `$intentionClassName`!")
}
}