aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-20 07:56:19 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-04-21 07:24:47 +0800
commitc72857d396f03fb570a3df4fa1abd074974f0c76 (patch)
tree32d5e90025a97ce0b9bbab83ef1bb470aee8d115 /test
parentc6dcc6acd84adbaed8e6bcba0cb5e42bffdf1732 (diff)
downloadrneovim-c72857d396f03fb570a3df4fa1abd074974f0c76.tar.gz
rneovim-c72857d396f03fb570a3df4fa1abd074974f0c76.tar.bz2
rneovim-c72857d396f03fb570a3df4fa1abd074974f0c76.zip
vim-patch:8.2.0358: insufficient testing for indent.c
Problem: Insufficient testing for indent.c. Solution: Add indent tests. (Yegappan Lakshmanan, closes vim/vim#5736) https://github.com/vim/vim/commit/bd7206e02c957f0619e68e1628e2a3e91dd41e06 Cherry-pick Test_ex_mode() changes from Vim patches 8.2.{0342,0347}. Reorder test_expand_func.vim to match upstream.
Diffstat (limited to 'test')
-rw-r--r--test/functional/legacy/ex_mode_spec.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/legacy/ex_mode_spec.lua b/test/functional/legacy/ex_mode_spec.lua
index 44719027a6..244b6bf00f 100644
--- a/test/functional/legacy/ex_mode_spec.lua
+++ b/test/functional/legacy/ex_mode_spec.lua
@@ -32,5 +32,11 @@ describe('Ex mode', function()
test_ex_edit(' foo', ' foo<C-d>')
test_ex_edit(' foo0', ' foo0<C-d>')
test_ex_edit(' foo^', ' foo^<C-d>')
+ test_ex_edit('foo', '<BS><C-H><Del><kDel>foo')
+ -- default wildchar <Tab> interferes with this test
+ command('set wildchar=<c-e>')
+ test_ex_edit('a\tb', 'a\t\t<C-H>b')
+ test_ex_edit('\tm<C-T>n', '\tm<C-T>n')
+ command('set wildchar&')
end)
end)