mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-08-13 23:17:06 +02:00
Use the read action for neovim tests in other place
This commit is contained in:
@@ -159,8 +159,10 @@ object NeovimTesting {
|
|||||||
neovimTestsCounter++
|
neovimTestsCounter++
|
||||||
}
|
}
|
||||||
val vimCoords = getCaret()
|
val vimCoords = getCaret()
|
||||||
val resultVimCoords = CharacterPosition.atCaret(editor).toVimCoords()
|
ApplicationManager.getApplication().runReadAction {
|
||||||
assertEquals(vimCoords.toString(), resultVimCoords.toString())
|
val resultVimCoords = CharacterPosition.atCaret(editor).toVimCoords()
|
||||||
|
assertEquals(vimCoords.toString(), resultVimCoords.toString())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun assertText(editor: Editor) {
|
private fun assertText(editor: Editor) {
|
||||||
|
Reference in New Issue
Block a user