Improve test_eval.in

The old version required to change the range given to :w for each new
test. Now a new buffer is used instead.
This commit is contained in:
Marco Hinz 2014-05-02 13:15:01 +02:00 committed by Thiago de Arruda
parent abecd0f394
commit 8a729897f4

View File

@ -1,5 +1,8 @@
STARTTEST
:e test.out
:%d
:" function name not starting with a capital
:try
: func! g:test()
@ -46,8 +49,9 @@ STARTTEST
: $put =v:exception
:endtry
:$-10,$w! test.out
:q!
:1d
:w
:qa!
ENDTEST