vim-patch:7.4.1352 (#4914)

Problem:    The test script lists all functions before executing them.
Solution:   Only list the function currently being executed.

93bf558cae
This commit is contained in:
Michael Ennen 2016-06-12 21:05:42 -07:00 committed by Justin M. Keyes
parent e247e3acdd
commit 0ea01c1586
2 changed files with 3 additions and 2 deletions

View File

@ -61,12 +61,13 @@ endif
" Locate Test_ functions and execute them.
set nomore
redir @q
function /^Test_
silent function /^Test_
redir END
let tests = split(substitute(@q, 'function \(\k*()\)', '\1', 'g'))
" Execute the tests in alphabetical order.
for test in sort(tests)
echo 'Executing ' . test
if exists("*SetUp")
call SetUp()
endif

View File

@ -341,7 +341,7 @@ static int included_patches[] = {
// 1355 NA
// 1354 NA
// 1353 NA
// 1352,
1352,
// 1351 NA
// 1350 NA
// 1349 NA