comparison src/testdir/test49.in @ 1405:b63792dadc23 v7.1.120

updated for version 7.1-120
author vimboss
date Tue, 25 Sep 2007 16:00:00 +0000
parents 3fc0f57ecb91
children b62965091b8d
comparison
equal deleted inserted replaced
1404:b00bc2bf23eb 1405:b63792dadc23
1 This is a test of the script language. 1 This is a test of the script language.
2 2
3 If after adding a new test, the test output doesn't appear properly in 3 If after adding a new test, the test output doesn't appear properly in
4 test49.failed, try to add one ore more "G"s at the line before ENDTEST. 4 test49.failed, try to add one ore more "G"s at the line ending in "test.out"
5 5
6 STARTTEST 6 STARTTEST
7 :so small.vim 7 :so small.vim
8 :se nocp nomore viminfo+=nviminfo 8 :se nocp nomore viminfo+=nviminfo
9 :so test49.vim 9 :so test49.vim
10 GGGGGGGGGG"rp:.-,$wq! test.out 10 GGGGGGGGGGGGGG"rp:.-,$w! test.out
11 :"
12 :" make valgrind happy
13 :redir => funclist
14 :silent func
15 :redir END
16 :for line in split(funclist, "\n")
17 : let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')
18 : if name != ''
19 : exe "delfunc " . name
20 : endif
21 :endfor
22 :for v in keys(g:)
23 : silent! exe "unlet " . v
24 :endfor
25 :unlet v
26 :qa!
11 ENDTEST 27 ENDTEST
12 28
13 Results of test49.vim: 29 Results of test49.vim: