diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-01 20:19:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-01 20:19:37 +0200 |
commit | a0d072ef8203b225bd46bcd826cb3d2e3c3b941a (patch) | |
tree | 7abea799c760bdc79b80198695f1fb2052f072a4 | |
parent | 5f195938d4d489aa288bdb54ee6112a34aed1df9 (diff) | |
download | vim-git-8.2.1113.tar.gz |
patch 8.2.1113: no test for verbose output of :callv8.2.1113
Problem: No test for verbose output of :call.
Solution: Add a test.
-rw-r--r-- | src/testdir/test_user_func.vim | 11 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/testdir/test_user_func.vim b/src/testdir/test_user_func.vim index aec3619e7..d4d149c37 100644 --- 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 index bb7c318ae..81cf2c0de 100644 --- 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, |