From c72857d396f03fb570a3df4fa1abd074974f0c76 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 20 Apr 2022 07:56:19 +0800 Subject: 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. --- test/functional/legacy/ex_mode_spec.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/functional') 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') test_ex_edit(' foo0', ' foo0') test_ex_edit(' foo^', ' foo^') + test_ex_edit('foo', 'foo') + -- default wildchar interferes with this test + command('set wildchar=') + test_ex_edit('a\tb', 'a\t\tb') + test_ex_edit('\tmn', '\tmn') + command('set wildchar&') end) end) -- cgit