File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/test/kotlin/com/demonwav/mcdev/framework Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1010
1111package com.demonwav.mcdev.framework
1212
13- import com.intellij.openapi.application.runWriteAction
1413import com.intellij.openapi.roots.ModuleRootModificationUtil
1514import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase
1615
@@ -32,10 +31,8 @@ abstract class ProjectBuilderTest : LightCodeInsightFixtureTestCase() {
3231 }
3332
3433 override fun tearDown () {
35- runWriteAction {
36- ModuleRootModificationUtil .updateModel(myFixture.module) { model ->
37- model.removeContentEntry(model.contentEntries.first { it.file == project.baseDir })
38- }
34+ ModuleRootModificationUtil .updateModel(myFixture.module) { model ->
35+ model.removeContentEntry(model.contentEntries.first { it.file == project.baseDir })
3936 }
4037
4138 super .tearDown()
You can’t perform that action at this time.
0 commit comments