]> granicus.if.org Git - vim/commitdiff
patch 8.2.1113: no test for verbose output of :call v8.2.1113
authorBram Moolenaar <Bram@vim.org>
Wed, 1 Jul 2020 18:19:37 +0000 (20:19 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 1 Jul 2020 18:19:37 +0000 (20:19 +0200)
Problem:    No test for verbose output of :call.
Solution:   Add a test.

src/testdir/test_user_func.vim
src/version.c

index aec3619e77af83a007dad7e49195b19b41e176a0..d4d149c374e159c27a8df92ee3509213189bc2b1 100644 (file)
@@ -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'
index bb7c318ae276dee5fc4dc87f200bf0c7f9b2fae6..81cf2c0de3cea0ce55e431d3f4349462ad1d352f 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1113,
 /**/
     1112,
 /**/