mirror of
https://github.com/neovim/neovim.git
synced 2026-04-20 22:35:33 +00:00
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:
committed by
Thiago de Arruda
parent
abecd0f394
commit
8a729897f4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user