summaryrefslogtreecommitdiffstats
path: root/src/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-12-06 22:18:20 +0100
committerBram Moolenaar <Bram@vim.org>2019-12-06 22:18:20 +0100
commitf48ee3c28488f7c361732316f905ac420b3d8087 (patch)
tree34f5a530c163ab511d7c410b9beea4be7cf11e2e /src/testdir
parent88a3e2b2ac33e3bb4b7cf9132eb75db051e8f4ed (diff)
patch 8.1.2402: typos and other small thingsv8.1.2402
Problem: Typos and other small things. Solution: Small fixes.
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/shared.vim3
-rw-r--r--src/testdir/test49.vim2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/testdir/shared.vim b/src/testdir/shared.vim
index 78f204c10e..e753c1ebec 100644
--- a/src/testdir/shared.vim
+++ b/src/testdir/shared.vim
@@ -315,6 +315,9 @@ func RunVimPiped(before, after, arguments, pipecmd)
let args .= ' -S Xafter.vim'
endif
+ " Optionally run Vim under valgrind
+ " let cmd = 'valgrind --tool=memcheck --leak-check=yes --num-callers=25 --log-file=valgrind ' . cmd
+
exe "silent !" . a:pipecmd . cmd . args . ' ' . a:arguments
if len(a:before) > 0
diff --git a/src/testdir/test49.vim b/src/testdir/test49.vim
index f19b9db5ba..15210b6063 100644
--- a/src/testdir/test49.vim
+++ b/src/testdir/test49.vim
@@ -178,7 +178,7 @@ endif
" next Xpath value. No new Xnext value is prepared. The argument
" should be 2^(n-1) for the nth Xloop command inside the loop.
" If the loop has only one Xloop command, the argument can be
-" ommitted (default: 1).
+" omitted (default: 1).
"
" - Use XloopNEXT before ":continue" and ":endwhile". This computes a new
" Xnext value for the next execution of the loop by multiplying the old