diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-11-04 19:49:23 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-04 20:54:50 +0800 |
| commit | 2476f41a4a4dcf940bce9ea9ae48a6017a35fbc2 (patch) | |
| tree | 94140dbc845f6145eae7876cd0bd933a9dcfcdbe /src/nvim/testdir/test_selectmode.vim | |
| parent | 2b86ca81b400b1311379f3258cc6c38be94fcf36 (diff) | |
| download | rneovim-2476f41a4a4dcf940bce9ea9ae48a6017a35fbc2.tar.gz rneovim-2476f41a4a4dcf940bce9ea9ae48a6017a35fbc2.tar.bz2 rneovim-2476f41a4a4dcf940bce9ea9ae48a6017a35fbc2.zip | |
vim-patch:8.2.1022: various parts of code not covered by tests
Problem: Various parts of code not covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6300)
https://github.com/vim/vim/commit/845e0ee59430eac07e74b6cb92020e420d17953d
Omit test_iminsert.vim: the commit that created this file was N/A.
Omit test_viminfo.vim: the added tests are N/A.
Diffstat (limited to 'src/nvim/testdir/test_selectmode.vim')
| -rw-r--r-- | src/nvim/testdir/test_selectmode.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_selectmode.vim b/src/nvim/testdir/test_selectmode.vim index f2cab45450..041f0592f1 100644 --- a/src/nvim/testdir/test_selectmode.vim +++ b/src/nvim/testdir/test_selectmode.vim @@ -34,6 +34,9 @@ func Test_selectmode_start() set selectmode=cmd call feedkeys('gvabc', 'xt') call assert_equal('abctdef', getline(1)) + " arrow keys without shift should not start selection + call feedkeys("A\<Home>\<Right>\<Left>ro", 'xt') + call assert_equal('roabctdef', getline(1)) set selectmode= keymodel= bw! endfunc |