Skip to content

Commit 4b38494

Browse files
committed
write action
1 parent d91f22a commit 4b38494

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/amazonq/shared/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/amazonq/lsp/textdocument/TextDocumentServiceHandlerTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
package software.aws.toolkits.jetbrains.services.amazonq.lsp.textdocument
55

6+
import com.intellij.openapi.application.writeAction
67
import com.intellij.openapi.editor.Document
78
import com.intellij.openapi.fileEditor.FileDocumentManager
89
import com.intellij.openapi.fileTypes.FileType
9-
import com.intellij.openapi.progress.blockingContext
1010
import com.intellij.openapi.vfs.VirtualFile
1111
import com.intellij.openapi.vfs.newvfs.events.VFileContentChangeEvent
1212
import com.intellij.openapi.vfs.newvfs.events.VFileEvent
@@ -172,7 +172,7 @@ class TextDocumentServiceHandlerTest {
172172
projectRule.fixture.createFile("name", "").also {
173173
projectRule.fixture.openFileInEditor(it)
174174

175-
blockingContext {
175+
writeAction {
176176
it.writeText("changed content")
177177
}
178178
}

0 commit comments

Comments
 (0)