remove write action around closeAndDeleteProject()
This commit is contained in:
@@ -86,8 +86,7 @@ fun KtFile.dumpTextWithErrors(): String {
|
|||||||
return header + text
|
return header + text
|
||||||
}
|
}
|
||||||
|
|
||||||
fun closeAndDeleteProject(): Unit =
|
fun closeAndDeleteProject() = LightPlatformTestCase.closeAndDeleteProject()
|
||||||
ApplicationManager.getApplication().runWriteAction { LightPlatformTestCase.closeAndDeleteProject() }
|
|
||||||
|
|
||||||
fun doKotlinTearDown(project: Project, runnable: RunnableWithException) {
|
fun doKotlinTearDown(project: Project, runnable: RunnableWithException) {
|
||||||
doKotlinTearDown(project) { runnable.run() }
|
doKotlinTearDown(project) { runnable.run() }
|
||||||
|
|||||||
Reference in New Issue
Block a user