diff --git a/src/testdir/test_viml.vim b/src/testdir/test_viml.vim index 3a195ddc54..cc2303b647 100644 --- a/src/testdir/test_viml.vim +++ b/src/testdir/test_viml.vim @@ -1238,6 +1238,77 @@ func Test_num64() call assert_equal(rng, sort(range(0x100000001, 0xFFFFffff, -1), 'N')) endfunc +"------------------------------------------------------------------------------- +" Test 95: lines of :append, :change, :insert {{{1 +"------------------------------------------------------------------------------- + +function! DefineFunction(name, body) + let func = join(['function! ' . a:name . '()'] + a:body + ['endfunction'], "\n") + exec func +endfunction + +func Test_script_lines() + " :append + try + call DefineFunction('T_Append', [ + \ 'append', + \ 'py <