mirror of
https://github.com/neovim/neovim.git
synced 2026-02-20 09:19:43 +10:00
Vim creates these scripts in test1 depending on what build features are enabled so that tests that use these features are skiped if necessary. Because Neovim only has one type of build (and the features +eval, +windows, and +multi-byte are enabled in this build) they are not necessary.
32 lines
668 B
Plaintext
32 lines
668 B
Plaintext
This is a test of the script language.
|
|
|
|
If after adding a new test, the test output doesn't appear properly in
|
|
test49.failed, try to add one or more "G"s at the line ending in "test.out"
|
|
|
|
STARTTEST
|
|
:se nomore
|
|
:lang mess C
|
|
:so test49.vim
|
|
:" Go back to this file and append the results from register r.
|
|
:buf test49.in
|
|
G"rp:/^Results/,$w! test.out
|
|
:"
|
|
:" make valgrind happy
|
|
:redir => funclist
|
|
:silent func
|
|
:redir END
|
|
:for line in split(funclist, "\n")
|
|
: let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')
|
|
: if name != ''
|
|
: exe "delfunc " . name
|
|
: endif
|
|
:endfor
|
|
:for v in keys(g:)
|
|
: silent! exe "unlet " . v
|
|
:endfor
|
|
:unlet v
|
|
:qa!
|
|
ENDTEST
|
|
|
|
Results of test49.vim:
|