# HG changeset patch # User Bram Moolenaar # Date 1593628205 -7200 # Node ID 8b4b43b5b4c66c964306df5714157699db490c50 # Parent c707f5c7d8b393bdba447b5669a1e7de1c11757c patch 8.2.1113: no test for verbose output of :call Commit: https://github.com/vim/vim/commit/a0d072ef8203b225bd46bcd826cb3d2e3c3b941a Author: Bram Moolenaar Date: Wed Jul 1 20:19:37 2020 +0200 patch 8.2.1113: no test for verbose output of :call Problem: No test for verbose output of :call. Solution: Add a test. diff --git a/src/testdir/test_user_func.vim b/src/testdir/test_user_func.vim --- a/src/testdir/test_user_func.vim +++ b/src/testdir/test_user_func.vim @@ -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' diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1113, +/**/ 1112, /**/ 1111,