diff options
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/shared.vim | 3 | ||||
-rw-r--r-- | src/testdir/test49.vim | 2 |
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 |