diff src/testdir/test_textobjects.vim @ 18644:7bfe68b637be v8.1.2314

patch 8.1.2314: vi' sometimes does not select anything Commit: https://github.com/vim/vim/commit/7170b295b06e3168424985530d8477ed2e058b67 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 17 17:32:28 2019 +0100 patch 8.1.2314: vi' sometimes does not select anything Problem: vi' sometimes does not select anything. Solution: Recognize an empty selection. (Christian Brabandt, closes https://github.com/vim/vim/issues/5183)
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 Nov 2019 17:45:03 +0100
parents 8e9e9124c7a2
children 953e83e09e78
line wrap: on
line diff
--- a/src/testdir/test_textobjects.vim
+++ b/src/testdir/test_textobjects.vim
@@ -47,6 +47,9 @@ func Test_quote_selection_selection_excl
   set selection=exclusive
   exe "norm! fdvhi'y"
   call assert_equal('bcde', @")
+  let @"='dummy'
+  exe "norm! $gevi'y"
+  call assert_equal('bcde', @")
   set selection&vim
   bw!
 endfunc