remove write action around closeAndDeleteProject()

This commit is contained in:
Dmitry Jemerov
2016-10-19 18:03:22 +02:00
parent b10073465c
commit ab5067a0d3
@@ -86,8 +86,7 @@ fun KtFile.dumpTextWithErrors(): String {
return header + text
}
fun closeAndDeleteProject(): Unit =
ApplicationManager.getApplication().runWriteAction { LightPlatformTestCase.closeAndDeleteProject() }
fun closeAndDeleteProject() = LightPlatformTestCase.closeAndDeleteProject()
fun doKotlinTearDown(project: Project, runnable: RunnableWithException) {
doKotlinTearDown(project) { runnable.run() }