mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1113: no test for verbose output of :call
Problem: No test for verbose output of :call. Solution: Add a test.
This commit is contained in:
@@ -222,6 +222,17 @@ func Test_endfunction_trailing()
|
||||
delfunc Xtest
|
||||
set verbose=0
|
||||
|
||||
func Xtest(a1, a2)
|
||||
echo a:a1 .. a:a2
|
||||
endfunc
|
||||
set verbose=15
|
||||
redir @a
|
||||
call Xtest(123, repeat('x', 100))
|
||||
redir END
|
||||
call assert_match('calling Xtest(123, ''xxxxxxx.*x\.\.\.x.*xxxx'')', getreg('a'))
|
||||
delfunc Xtest
|
||||
set verbose=0
|
||||
|
||||
function Foo()
|
||||
echo 'hello'
|
||||
endfunction | echo 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
||||
|
@@ -754,6 +754,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1113,
|
||||
/**/
|
||||
1112,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user