7
|
1 This is a test of the script language.
|
|
2
|
|
3 If after adding a new test, the test output doesn't appear properly in
|
1405
|
4 test49.failed, try to add one ore more "G"s at the line ending in "test.out"
|
7
|
5
|
|
6 STARTTEST
|
|
7 :so small.vim
|
|
8 :se nocp nomore viminfo+=nviminfo
|
1539
|
9 :lang mess C
|
7
|
10 :so test49.vim
|
1405
|
11 GGGGGGGGGGGGGG"rp:.-,$w! test.out
|
|
12 :"
|
|
13 :" make valgrind happy
|
|
14 :redir => funclist
|
|
15 :silent func
|
|
16 :redir END
|
|
17 :for line in split(funclist, "\n")
|
|
18 : let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')
|
|
19 : if name != ''
|
|
20 : exe "delfunc " . name
|
|
21 : endif
|
|
22 :endfor
|
|
23 :for v in keys(g:)
|
|
24 : silent! exe "unlet " . v
|
|
25 :endfor
|
|
26 :unlet v
|
|
27 :qa!
|
7
|
28 ENDTEST
|
|
29
|
|
30 Results of test49.vim:
|