aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2021-09-24 18:59:36 +0200
committerGitHub <noreply@github.com>2021-09-24 09:59:36 -0700
commit7cb34a341db72699798fbefe49e2ed6d9aa84cb1 (patch)
tree56bf806c034b71c5525d4a676c927c830c9ff049 /test
parentbc570b00641386f6c60b24bc2207661b7551ca10 (diff)
downloadrneovim-7cb34a341db72699798fbefe49e2ed6d9aa84cb1.tar.gz
rneovim-7cb34a341db72699798fbefe49e2ed6d9aa84cb1.tar.bz2
rneovim-7cb34a341db72699798fbefe49e2ed6d9aa84cb1.zip
test(normal): CA_COMMAND_BUSY in visual select mode #15292
Fix was already applied in 5f144efefa66c9694123b679bab52992279a6015 #15688, but this commit adds another dimension to the test. Test correctly fails after reverting 5f144efefa66c9694123b679bab52992279a6015. ref #15288
Diffstat (limited to 'test')
-rw-r--r--test/functional/editor/mode_visual_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/editor/mode_visual_spec.lua b/test/functional/editor/mode_visual_spec.lua
index e9c117a1e5..468ae00e01 100644
--- a/test/functional/editor/mode_visual_spec.lua
+++ b/test/functional/editor/mode_visual_spec.lua
@@ -14,6 +14,7 @@ describe('visual-mode', function()
it("select-mode Ctrl-O doesn't cancel Ctrl-O mode when processing event #15688", function()
feed('iHello World<esc>gh<c-o>')
eq({mode='vs', blocking=false}, meths.get_mode()) -- fast event
+ eq({mode='vs', blocking=false}, meths.get_mode()) -- again #15288
eq(2, eval('1+1')) -- causes K_EVENT key
eq({mode='vs', blocking=false}, meths.get_mode()) -- still in ctrl-o mode
feed('^')